You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by John McDonnell <mc...@gmail.com> on 2012/07/04 15:26:38 UTC

Project specific database

I recently started looking to convert an JEE6 application working in
Glassfish application server to using TomEE+ 1.0 and I am having an issue
with setting up the database.

If I define the Resource in the tomee.xml file in the tomeeDir/conf/
directory I am able to use the database I specify, which is a Derby
database, but I want to be able to define the database to be project
specific, like I was able to do in Glassfish.

What happens at the moment when I deploy the application I notice in the
logs that TomEE adjusts the PU defined to use the Default JDBC Database,
which was created, as I have removed the definitition of it from the
tomee.xml file.

Here is the logs when deploying my project:

TomcatWebAppBuilder.start /tomee-jee6-module
04-Jul-2012 12:52:12 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
04-Jul-2012 12:52:12 org.apache.openejb.config.DeploymentLoader
addFacesConfigs
INFO: faces config file is null
04-Jul-2012 12:52:13 org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application:
C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb TestManagementService:
EjbDeployment(deployment-id=TestManagementService)
04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig deploy
INFO: *Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
provider=org.hibernate.ejb.HibernatePersistence)
04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig setJtaDataSource
INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU <jta-data-source>
to Resource ID 'Default JDBC Database' from 'derbyDb'
04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
setNonJtaDataSource
INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
<non-jta-data-source> to Resource ID 'Default JDBC DatabaseNonJta' from
'null'*
04-Jul-2012 12:52:13 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application
"C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module" loaded.
04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app:
C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
parseValidationXml
INFO: ignoreXmlConfiguration == true
04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
parseValidationXml
INFO: ignoreXmlConfiguration == true
04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration configure
INFO: Processing PersistenceUnitInfo [
name: JerseyRestfulWebServicePU
...]
04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class:
com.shenick.diversifeye.domain.Host
04-Jul-2012 12:52:13 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationConfiguration
secondPassCompile
INFO: Hibernate Validator not found: ignoring
04-Jul-2012 12:52:13 org.hibernate.connection.ConnectionProviderFactory
newConnectionProvider
INFO: Initializing connection provider:
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
04-Jul-2012 12:52:13
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider configure
INFO: Using provided datasource
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: HSQL Database Engine Driver, version: 2.2.4
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): enabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL inserts for batching: disabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: enabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
04-Jul-2012 12:52:13
org.apache.openejb.assembler.classic.PersistenceBuilder
createEntityManagerFactory
INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
provider=org.hibernate.ejb.HibernatePersistence) - provider time 401ms*
04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=localhost/tomee-jee6-module.CompLocalBean) -->
Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=TestManagementServiceLocalBean) -->
Ejb(deployment-id=TestManagementService)
04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO:
Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
--> Ejb(deployment-id=TestManagementService)
04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
--> Ejb(deployment-id=TestManagementService)
04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder build
INFO: existing thread singleton service in SystemInstance()
org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points were validated successfully.
04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took [15] ms.
using context file
C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=TestManagementService,
ejb-name=TestManagementService, container=My Singleton Container)
04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=TestManagementService,
ejb-name=TestManagementService, container=My Singleton Container)
04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed
Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder safeBind
SEVERE: Error in safeBind method
javax.naming.NameNotFoundException: Name [openejb] is not bound in this
Context. Unable to find [openejb].
at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
at
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder safeBind
INFO: TransactionManager already bound, ignoring
04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder safeBind
INFO: TransactionSynchronizationRegistry already bound, ignoring
04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder safeBind
SEVERE: Error in safeBind method
javax.naming.NameNotFoundException: No ORB registered with the OpenEJB
system
at
org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
at
org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
at
org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
at
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder safeBind
SEVERE: Error in safeBind method
javax.naming.NameNotFoundException: No HandleDelegate registered with the
OpenEJB system
at
org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
at
org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
at
org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
at
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be
http://localhost:8080/tomee-jee6-module/webapi
04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService deployEJB
INFO: REST Service:
http://localhost:8080/tomee-jee6-module/webapi/tms/.*-> EJB
TestManagementService
04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
afterApplicationCreated
INFO: REST application deployed:
com.shenick.diversifeye.config.ApplicationConfig


Here is my persistence Unit:

<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="JerseyRestfulWebServicePU" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>derbyDb</jta-data-source>
<class>com.shenick.diversifeye.domain.Host</class>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="hibernate.dialect"
value="org.hibernate.dialect.DerbyDialect"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
</properties>
</persistence-unit>
</persistence>



I have a context.xml and openejb.xml specified in the META-INF folder

openejb.xml:
<?xml version="1.0" encoding="UTF-8"?>
<openejb>
<Resource id="derbyDb" type="DataSource">
JdbcDriver org.apache.derby.jdbc.ClientDriver
JdbcUrl jdbc:derby://localhost:1527/sample
UserName app
Password app
JtaManaged true
</Resource>
</openejb>

and context.xml:

<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/tomee-jee6-module"/>

I also have the resource referenced in the web.xml file:
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<session-config>
<session-timeout>
30
</session-timeout>
  </session-config>
<resource-ref>
<description>
Object factory for MyBean instances.
</description>
<res-ref-name>
derbyDb
</res-ref-name>
<res-type>
javax.sql.DataSource
</res-type>
<res-auth>
Container
</res-auth>
  </resource-ref>
</web-app>


What am I doing wrong, or is it not possible to define a datasource at a
project level, and it should only be referenced in the tommee.xml file?

Thanks in advance

John McDonnell

Re: Project specific database

Posted by Romain Manni-Bucau <rm...@gmail.com>.
thanks!

- Romain


2012/7/6 John McDonnell <mc...@gmail.com>

> Yeah why not, I dont have time to make it now, but after work I will get to
> it.
>
>
> John
>
> On 6 July 2012 12:16, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> > can be a great enhancement, right!
> >
> > do you want to contribute such a page on the project (don't feel shy, we
> > can enhance it later)?
> >
> > - Romain
> >
> >
> > 2012/7/6 John McDonnell <mc...@gmail.com>
> >
> > > Thank you very much Romain, it is working correctly now.
> > >
> > > Can I make a suggestion in regards to your documentation?
> > >
> > > It might be helpful for people new-ish to Java EE and application
> servers
> > > in general if you could provide a page that details the location of
> files
> > > thats are commonly needed, as when I was trying to solve this issue I
> > > couldnt work out the appropriate location, or even contents.  While the
> > > mailing list is a great idea and has prove useful for me, it would help
> > if
> > > the documentation on the website was cleaner...
> > >
> > >
> > >
> > >
> > > On 6 July 2012 11:38, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
> > >
> > > > can you replace type="DataSource" by type="javax.sql.DataSource"
> please
> > > >
> > > > - Romain
> > > >
> > > >
> > > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > > >
> > > > > *Slams head on desk*
> > > > >
> > > > > resources.xml is placed in WEB-INF/classes/META-INF???
> > > > >
> > > > > Damn it I tried both WEB-INF and in META-INF but neither of them
> > > worked.
> > > > >
> > > > > I have justed tried placing the the folder you specified and
> > attempted
> > > to
> > > > > deploy the application I got the following in my logs:
> > > > >
> > > > >
> > > > >
> > > > > 06-Jul-2012 11:14:30 org.apache.catalina.startup.HostConfig
> deployWAR
> > > > > INFO: Deploying web application archive
> > > > >
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
> > > > > 06-Jul-2012 11:14:30 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > startInternal
> > > > > INFO: -------------------------
> > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.DeploymentLoader
> > > > > addFacesConfigs
> > > > > INFO: faces config file is null
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > > > > configureApplication
> > > > > INFO: Configuring enterprise application:
> > > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments
> > > deploy
> > > > > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > > > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments
> > > deploy
> > > > > INFO: Auto-deploying ejb TestManagementService:
> > > > > EjbDeployment(deployment-id=TestManagementService)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > > > > configureService
> > > > > INFO: Configuring Service(id=app/jdbc/jrws, type=Resource,
> > > > > provider-id=Default JDBC Database)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > > > > createRecipe
> > > > > INFO: Creating Resource(id=app/jdbc/jrws)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > > > > configureService
> > > > > INFO: Configuring Service(id=Default Managed Container,
> > type=Container,
> > > > > provider-id=Default Managed Container)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > createContainer
> > > > > INFO: Auto-creating a container for bean
> > > > localhost/tomee-jee6-module.Comp:
> > > > > Container(type=MANAGED, id=Default Managed Container)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > > > > createRecipe
> > > > > INFO: Creating Container(id=Default Managed Container)
> > > > > 06-Jul-2012 11:14:30
> org.apache.openejb.core.managed.SimplePassivater
> > > > init
> > > > > INFO: Using directory C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\temp
> > for
> > > > > stateful session passivation
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > > processResourceRef
> > > > > INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
> > > > > localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > > processResourceRef
> > > > > INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in
> > > bean
> > > > > localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > > processResourceRef
> > > > > INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
> > > > > TestManagementService to Resource(id=app/jdbc/jrws)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > > processResourceRef
> > > > > INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in
> > > bean
> > > > > TestManagementService to Resource(id=app/jdbc/jrws)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
> > > > > INFO: Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > > logAutoCreateResource
> > > > > INFO: Auto-creating a Resource with id 'app/jdbc/jrwsNonJta' of
> type
> > > > > 'DataSource for 'JerseyRestfulWebServicePU'.
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
> > > > > INFO: Configuring Service(id=app/jdbc/jrwsNonJta, type=Resource,
> > > > > provider-id=app/jdbc/jrws)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > > > > createRecipe
> > > > > INFO: Creating Resource(id=app/jdbc/jrwsNonJta)
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > > setNonJtaDataSource
> > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > > <non-jta-data-source> to Resource ID 'app/jdbc/jrwsNonJta' from
> > 'null'
> > > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AppInfoBuilder build
> > > > > INFO: Enterprise application
> > > > > "C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module"
> > > > loaded.
> > > > > 06-Jul-2012 11:14:31 org.apache.openejb.assembler.classic.Assembler
> > > > > createApplication
> > > > > INFO: Assembling app:
> > > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.Version <clinit>
> > > > > INFO: Hibernate Annotations 3.3.1.GA
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > > > > INFO: Hibernate 3.2.5
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > > > > INFO: hibernate.properties not found
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment
> > > buildBytecodeProvider
> > > > > INFO: Bytecode provider name : cglib
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > > > > INFO: using JDK 1.4 java.sql.Timestamp handling
> > > > > 06-Jul-2012 11:14:31 org.hibernate.ejb.Version <clinit>
> > > > > INFO: Hibernate EntityManager 3.3.2.GA
> > > > > 06-Jul-2012 11:14:31 org.hibernate.ejb.Ejb3Configuration configure
> > > > > INFO: Processing PersistenceUnitInfo [
> > > > > name: JerseyRestfulWebServicePU
> > > > > ...]
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
> > > > > INFO: Binding entity from annotated class:
> > > > > com.shenick.diversifeye.domain.Host
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder
> > > bindTable
> > > > > INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
> > > > > INFO: Binding entity from annotated class:
> > > > > com.shenick.diversifeye.domain.App
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder
> > > bindTable
> > > > > INFO: Bind entity com.shenick.diversifeye.domain.App on table App
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationConfiguration
> > > > > secondPassCompile
> > > > > INFO: Hibernate Validator not found: ignoring
> > > > > 06-Jul-2012 11:14:31
> > org.hibernate.connection.ConnectionProviderFactory
> > > > > newConnectionProvider
> > > > > INFO: Initializing connection provider:
> > > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > 06-Jul-2012 11:14:31
> > > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > configure
> > > > > INFO: Using provided datasource
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: RDBMS: Apache Derby, version: 10.8.1.2 - (1095077)
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: JDBC driver: Apache Derby Network Client JDBC Driver,
> version:
> > > > > 10.8.2.2 - (1181258)
> > > > > 06-Jul-2012 11:14:31 org.hibernate.dialect.Dialect <init>
> > > > > INFO: Using dialect: org.hibernate.dialect.DerbyDialect
> > > > > 06-Jul-2012 11:14:31
> > > org.hibernate.transaction.TransactionFactoryFactory
> > > > > buildTransactionFactory
> > > > > INFO: Transaction strategy:
> > > > > org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
> > > > > 06-Jul-2012 11:14:31
> > > > > org.hibernate.transaction.TransactionManagerLookupFactory
> > > > > getTransactionManagerLookup
> > > > > INFO: instantiating TransactionManagerLookup:
> > > > > org.apache.openejb.hibernate.TransactionManagerLookup
> > > > > 06-Jul-2012 11:14:31
> > > > > org.hibernate.transaction.TransactionManagerLookupFactory
> > > > > getTransactionManagerLookup
> > > > > INFO: instantiated TransactionManagerLookup
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Automatic flush during beforeCompletion(): disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Automatic session close at end of transaction: disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Scrollable result sets: enabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: JDBC3 getGeneratedKeys(): disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Connection release mode: auto
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Default batch fetch size: 1
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Generate SQL with comments: disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Order SQL updates by primary key: disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Order SQL inserts for batching: disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> > > > > createQueryTranslatorFactory
> > > > > INFO: Query translator:
> > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > 06-Jul-2012 11:14:31
> org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > <init>
> > > > > INFO: Using ASTQueryTranslatorFactory
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Query language substitutions: {}
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: JPA-QL strict compliance: enabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Second-level cache: enabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Query cache: disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> > > > createCacheProvider
> > > > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Optimize cache for minimal puts: disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Structured second-level cache entries: disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Statistics: disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Deleted entity synthetic identifier rollback: disabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Default entity-mode: pojo
> > > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Named query checking : enabled
> > > > > 06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryImpl <init>
> > > > > INFO: building session factory
> > > > > 06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryObjectFactory
> > > > > addInstance
> > > > > INFO: Not binding factory to JNDI, no JNDI name configured
> > > > > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate
> execute
> > > > > INFO: Running hbm2ddl schema update
> > > > > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate
> execute
> > > > > INFO: fetching database metadata
> > > > > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate
> execute
> > > > > INFO: updating schema
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: table found: .APP.APP
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: columns: [id, name]
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: foreign keys: []
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: indexes: [sql120628160338910]
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: table found: .APP.HOST
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: columns: [id, name, ipaddress]
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: foreign keys: []
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: indexes: [sql120622144724970]
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: table found: .APP.HIBERNATE_UNIQUE_KEY
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: columns: [next_hi]
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: foreign keys: []
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata
> <init>
> > > > > INFO: indexes: []
> > > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.SchemaUpdate
> execute
> > > > > INFO: schema update complete
> > > > > 06-Jul-2012 11:14:32
> > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > createEntityManagerFactory
> > > > > INFO: PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > provider=org.hibernate.ejb.HibernatePersistence) - provider time
> > 1098ms
> > > > > 06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
> > > > > destroyApplication
> > > > > INFO: Undeploying app:
> > > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > > > > 06-Jul-2012 11:14:32 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[/tomee-jee6-module]]
> > > > > in state [STARTING_PREP]
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408)
> > > > > at
> > > org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:298)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1053)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:839)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:824)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeployWebApps(TomcatWebAppBuilder.java:465)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1186)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:909)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > > > > 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:5172)
> > > > > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > > > > at
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > > > at
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > > > at
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > at
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > > at
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > at
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > 06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
> > > > > destroyResource
> > > > > INFO: Closing DataSource: app/jdbc/jrws
> > > > > 06-Jul-2012 11:14:32 org.hibernate.impl.SessionFactoryImpl close
> > > > > INFO: closing
> > > > > 06-Jul-2012 11:14:32 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > startInternal
> > > > > SEVERE: Unable to deploy collapsed ear in war /tomee-jee6-module:
> > > > > Exception: Creating application failed:
> > > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> > > Error
> > > > > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > > > org.apache.openejb.OpenEJBException: Unable to load type
> 'DataSource'
> > > for
> > > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > > 'DataSource'
> > > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > > org.apache.openejb.OpenEJBException: Creating application failed:
> > > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> > > Error
> > > > > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > > > org.apache.openejb.OpenEJBException: Unable to load type
> 'DataSource'
> > > for
> > > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > > 'DataSource'
> > > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > > > > 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:5172)
> > > > > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > > > > at
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > > > at
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > > > at
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > at
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > > at
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > at
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > Caused by: org.apache.openejb.OpenEJBException: Error building bean
> > > > > 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > > > org.apache.openejb.OpenEJBException: Unable to load type
> 'DataSource'
> > > for
> > > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > > 'DataSource'
> > > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
> > > > > ... 50 more
> > > > > Caused by: org.apache.openejb.OpenEJBException: Unable to load type
> > > > > 'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
> > > > > ... 51 more
> > > > > 06-Jul-2012 11:14:32 org.apache.catalina.core.ContainerBase
> > > > > addChildInternal
> > > > > SEVERE: ContainerBase.addChild: start:
> > > > > org.apache.catalina.LifecycleException: Failed to start component
> > > > >
> > > > >
> > > >
> > >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
> > > > > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > > > > at
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > > > at
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > > > at
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > at
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > > at
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > at
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > Caused by: org.apache.tomee.catalina.TomEERuntimeException:
> > > > > org.apache.openejb.OpenEJBException: Creating application failed:
> > > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> > > Error
> > > > > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > > > org.apache.openejb.OpenEJBException: Unable to load type
> 'DataSource'
> > > for
> > > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > > 'DataSource'
> > > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:683)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > > > > 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:5172)
> > > > > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > > > ... 42 more
> > > > > Caused by: org.apache.openejb.OpenEJBException: Creating
> application
> > > > > failed:
> > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> > > > > Error building bean 'localhost/tomee-jee6-module.Comp'. Exception:
> > > class
> > > > > org.apache.openejb.OpenEJBException: Unable to load type
> 'DataSource'
> > > for
> > > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > > 'DataSource'
> > > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > > > > ... 48 more
> > > > > Caused by: org.apache.openejb.OpenEJBException: Error building bean
> > > > > 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > > > org.apache.openejb.OpenEJBException: Unable to load type
> 'DataSource'
> > > for
> > > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > > 'DataSource'
> > > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
> > > > > ... 50 more
> > > > > Caused by: org.apache.openejb.OpenEJBException: Unable to load type
> > > > > 'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
> > > > > ... 51 more
> > > > > 06-Jul-2012 11:14:32 org.apache.catalina.startup.HostConfig
> deployWAR
> > > > > SEVERE: Error deploying web application archive
> > > > >
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
> > > > > java.lang.IllegalStateException: ContainerBase.addChild: start:
> > > > > org.apache.catalina.LifecycleException: Failed to start component
> > > > >
> > > > >
> > > >
> > >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:902)
> > > > > at
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > > > at
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > > > at
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > at
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > > at
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > at
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > at java.lang.Thread.run(Thread.java:662)
> > > > >
> > > > > Any suggestions on where I have made a mistake?
> > > > >
> > > > >
> > > > >
> > > > > Also Thanks for you help so far Romain!
> > > > >
> > > > > John
> > > > >
> > > > >
> > > > > On 6 July 2012 10:52, Romain Manni-Bucau <rm...@gmail.com>
> > > wrote:
> > > > >
> > > > > > hmm, i'm pretty sure resources.xml works (in
> > > WEB-INF/classes/META-INF)
> > > > > > since it uses the same code
> > > > > >
> > > > > > - Romain
> > > > > >
> > > > > >
> > > > > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > > > > >
> > > > > > > Sorry, yes defining the resource in the tomee.xml file works
> for
> > > me.
> > > > > > >
> > > > > > > Although I was initially looking at seeing if it was possible
> to
> > > > > provide
> > > > > > > the database details within a project, like you can in
> Glassfish
> > > > using
> > > > > > the
> > > > > > > glassfish-resource.xml file.  I've given up and just continued
> on
> > > > > > > converting our simple Glassfish project into a TomEE project by
> > > > > defining
> > > > > > > the database resource in the tomee.xml file.
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > > On 6 July 2012 10:23, Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > > > > wrote:
> > > > > > >
> > > > > > > > using in tomee.xml:
> > > > > > > >
> > > > > > > > <tomee>
> > > > > > > >   <Resource id="jdbc/blog" type="DataSource">
> > > > > > > >     JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > > >     JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > >     UserName app
> > > > > > > >     Password app
> > > > > > > >     JtaManaged true
> > > > > > > >   </Resource>
> > > > > > > > </tomee>
> > > > > > > >
> > > > > > > > with in persistence.xml
> > > > <jta-data-source>jdbc/blog</jta-data-source>
> > > > > > > >
> > > > > > > > works for me.
> > > > > > > >
> > > > > > > > any details on your installation?
> > > > > > > >
> > > > > > > > i used the tomee maven plugin to add derby jars to the
> > container
> > > > > > > >
> > > > > > > >
> > > > > > > > - Romain
> > > > > > > >
> > > > > > > >
> > > > > > > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > > > > > > >
> > > > > > > > > Okay, firstly apologies for the last email...
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I tried calling the xml file resources.xml, and its in the
> > > > META-INF
> > > > > > > > folder,
> > > > > > > > > and it is still not working.
> > > > > > > > >
> > > > > > > > > The Derby Jar is also in the tomee/lib/ directory along
> with
> > > the
> > > > > > > > hibernate
> > > > > > > > > jar as well, but when every I try to deploy the
> application I
> > > > still
> > > > > > get
> > > > > > > > > connected to the HSQL database.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 5 July 2012 00:26, Romain Manni-Bucau <
> > > rmannibucau@gmail.com>
> > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > not sure i understood correctly,
> > > > > > > > > >
> > > > > > > > > > typically tomee.xml is in conf/
> > > > > > > > > >
> > > > > > > > > > resources.xml is in META-INF like
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml
> > > > > > > > > >
> > > > > > > > > > the resources.xml uses the webapp classloader where
> > tomee.xml
> > > > > > creates
> > > > > > > > > > resources before any application deployment
> > > > > > > > > >
> > > > > > > > > > - Romain
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2012/7/5 John McDonnell <mc...@gmail.com>
> > > > > > > > > >
> > > > > > > > > > > Sorry but I am just home from a night out ....  I have
> > > tried
> > > > > > > calling
> > > > > > > > > the
> > > > > > > > > > > xml file openejb.xml tomee.xml and before I posted on
> > this
> > > > > > mailing
> > > > > > > > > list I
> > > > > > > > > > > have also tried calling the config file resources.xml
> and
> > > > > neither
> > > > > > > of
> > > > > > > > > > those
> > > > > > > > > > > three options worked.
> > > > > > > > > > >
> > > > > > > > > > > Is the contents of each file correct? If so this is
> > either
> > > a
> > > > > bug
> > > > > > > or a
> > > > > > > > > > > limitation of ur project and so I should go back to
> > > defining
> > > > > the
> > > > > > > > > > > datatsource in the servers tomee.xml file which seems
> > over
> > > > the
> > > > > > top
> > > > > > > > > > >
> > > > > > > > > > > John
> > > > > > > > > > > On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <
> > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > you didnt add derby in tomee.xml?
> > > > > > > > > > > >
> > > > > > > > > > > > if you want to deliver derby in your webapp use
> > > > > > > > > META-INF/resources.xml
> > > > > > > > > > > > instead of tomee.xml.
> > > > > > > > > > > >
> > > > > > > > > > > > Note: using apache maven snapshot repository you can
> > add
> > > to
> > > > > > your
> > > > > > > > pom
> > > > > > > > > > > (think
> > > > > > > > > > > > to rename your final to be the context name):
> > > > > > > > > > > >
> > > > > > > > > > > > <plugin>
> > > > > > > > > > > >
> <groupId>org.apache.openejb.maven</groupId>
> > > > > > > > > > > >
> <artifactId>tomee-maven-plugin</artifactId>
> > > > > > > > > > > >             <version>1.0.0-SNAPSHOT</version>
> > > > > > > > > > > >             <configuration>
> > > > > > > > > > > >
> <tomeeClassifier>jaxrs</tomeeClassifier>
> > > > > > > > > > > >               <libs>
> > > > > > > > > > > >                 <lib>dom4j:dom4j:1.6.1</lib>
> > > > > > > > > > > >                 <lib>antlr:antlr:2.7.6</lib>
> > > > > > > > > > > >                 <lib>cglib:cglib:2.1_3</lib>
> > > > > > > > > > > >
> <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> > > > > > > > > > > >                 <lib>org.hibernate:hibernate:
> 3.2.5.ga
> > > > </lib>
> > > > > > > > > > > >
> > > > > > > > > > <lib>commons-collections:commons-collections:2.1.1</lib>
> > > > > > > > > > > >
> > > <lib>org.hibernate:hibernate-entitymanager:
> > > > > > > > 3.3.2.GA
> > > > > > > > > > > </lib>
> > > > > > > > > > > >
> > <lib>org.hibernate:hibernate-annotations:
> > > > > > > 3.3.1.GA
> > > > > > > > > > </lib>
> > > > > > > > > > > >
> > > > > > <lib>org.hibernate:hibernate-commons-annotations:
> > > > > > > > > > > 3.0.0.ga
> > > > > > > > > > > > </lib>
> > > > > > > > > > > >                 <lib>org.hibernate:ejb3-persistence:
> > > > 1.0.1.GA
> > > > > > > </lib>
> > > > > > > > > > <!--
> > > > > > > > > > > > derby and so on can be added the same way -->
> > > > > > > > > > > >               </libs>
> > > > > > > > > > > >             </configuration>
> > > > > > > > > > > >           </plugin>
> > > > > > > > > > > >
> > > > > > > > > > > > - Romain
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > > > > > >
> > > > > > > > > > > > > Okay,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I have zipped up the maven project which contains
> > the 2
> > > > > > > modules.
> > > > > > > > >  The
> > > > > > > > > > > core
> > > > > > > > > > > > > module is just a simple library which is used by
> the
> > > > TomEE
> > > > > > > > Restful
> > > > > > > > > > JEE6
> > > > > > > > > > > > > Module.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I have the following Jars in the tomee/lib/ dir:
> > > > > > > > > > > > >
> > > > > > > > > > > > > cglib 2.1_3
> > > > > > > > > > > > > hibernate 3.2.5.GA
> > > > > > > > > > > > > hibernate-annotations 3.3.1.GA
> > > > > > > > > > > > > hibernate-commons-annotations 3.3.1.GA
> > > > > > > > > > > > > dom4j 1.6.1
> > > > > > > > > > > > > asm 1.5.3
> > > > > > > > > > > > > asm-attr 1.5.3
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > and I have editted line 294 of catalina.bat to set
> > the
> > > > > > > > > > > > > javax.persistence.provider property:
> > > > > > > > > > > > > set
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hope this helps!
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > John McDonnell
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <
> > > > > > jeanouii@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > >> Any chance, you could share a simple example to
> > > > reproduce
> > > > > > the
> > > > > > > > > issue?
> > > > > > > > > > > > >> That'd be easier to work on maybe.
> > > > > > > > > > > > >>
> > > > > > > > > > > > >> Jean-Louis
> > > > > > > > > > > > >>
> > > > > > > > > > > > >> 2012/7/4 John McDonnell <mcdonnell.john@gmail.com
> >
> > > > > > > > > > > > >>
> > > > > > > > > > > > >> > I renamed the openejb.xml file to tomee.xml (its
> > > still
> > > > > in
> > > > > > > the
> > > > > > > > > > > META-INF
> > > > > > > > > > > > >> > folder) and it looks like this now:
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > > > > >> > <tomee>
> > > > > > > > > > > > >> > <Resource id="derbyDb" type="DataSource">
> > > > > > > > > > > > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > > > > > > > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > > > > > > >> > UserName app
> > > > > > > > > > > > >> > Password app
> > > > > > > > > > > > >> > JtaManaged true
> > > > > > > > > > > > >> > </Resource>
> > > > > > > > > > > > >> > </tomee>
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> > No joy again as the application is still using
> the
> > > > HSQL
> > > > > > > > database
> > > > > > > > > > as
> > > > > > > > > > > > >> opposed
> > > > > > > > > > > > >> > to the Derby one.
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> > Any other suggestions?
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> > John
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> > On 4 July 2012 15:12, Romain Manni-Bucau <
> > > > > > > > rmannibucau@gmail.com
> > > > > > > > > >
> > > > > > > > > > > wrote:
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> > > hmm, try tomee.xml instead of openejb.xml
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> > > - Romain
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> > > 2012/7/4 John McDonnell <
> > mcdonnell.john@gmail.com
> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> > > > I have downloaded the the snapshot of 1.1.0
> > and
> > > > > > deployed
> > > > > > > > the
> > > > > > > > > > > > >> > application,
> > > > > > > > > > > > >> > > > but no luck.
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > > > when deploying the application, the
> > application
> > > > > still
> > > > > > > uses
> > > > > > > > > > HSQL
> > > > > > > > > > > for
> > > > > > > > > > > > >> the
> > > > > > > > > > > > >> > > > database, and not the defined Derby
> database.
> > >  Is
> > > > > > there
> > > > > > > a
> > > > > > > > > > > problem
> > > > > > > > > > > > >> with
> > > > > > > > > > > > >> > my
> > > > > > > > > > > > >> > > > configuration?
> > (context.xml/openejb.xml/web.xml)
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > > > John
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <
> > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > >
> > > > > > > > > > > > >> > wrote:
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > > > > yep that's the same way netbeans deploys
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > > > - Romain
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > > > 2012/7/4 John McDonnell <
> > > > mcdonnell.john@gmail.com
> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > > > > Hey, thanks for the fast reply...
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > > > I dont use netbeans for deploying, I use
> > to
> > > to
> > > > > > build
> > > > > > > > the
> > > > > > > > > > > maven
> > > > > > > > > > > > >> > > project,
> > > > > > > > > > > > >> > > > > and
> > > > > > > > > > > > >> > > > > > then I use the management web app
> > "/manager"
> > > > to
> > > > > > > > deploy.
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > > > I'll get the snapshot anyways and try
> that
> > > > out.
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > > > John
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > > > On 4 July 2012 14:46, Romain
> Manni-Bucau <
> > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> > > > wrote:
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > > > > Hi,
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > > > do you use netbeans to deploy?
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > > > maybe try out our snapshot since we
> > fixed
> > > > some
> > > > > > > > issues
> > > > > > > > > > > > >> regarding
> > > > > > > > > > > > >> > the
> > > > > > > > > > > > >> > > > way
> > > > > > > > > > > > >> > > > > > > netbeans deploys.
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > > > Side note: it is tomee.xml not
> > tommee.xml
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > > > - Romain
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > > > 2012/7/4 John McDonnell <
> > > > > > mcdonnell.john@gmail.com
> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > > > > I recently started looking to
> convert
> > an
> > > > > JEE6
> > > > > > > > > > > application
> > > > > > > > > > > > >> > working
> > > > > > > > > > > > >> > > > in
> > > > > > > > > > > > >> > > > > > > > Glassfish application server to
> using
> > > > TomEE+
> > > > > > 1.0
> > > > > > > > > and I
> > > > > > > > > > > am
> > > > > > > > > > > > >> > having
> > > > > > > > > > > > >> > > an
> > > > > > > > > > > > >> > > > > > issue
> > > > > > > > > > > > >> > > > > > > > with setting up the database.
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > If I define the Resource in the
> > > tomee.xml
> > > > > file
> > > > > > > in
> > > > > > > > > the
> > > > > > > > > > > > >> > > > tomeeDir/conf/
> > > > > > > > > > > > >> > > > > > > > directory I am able to use the
> > database
> > > I
> > > > > > > specify,
> > > > > > > > > > which
> > > > > > > > > > > is
> > > > > > > > > > > > >> a
> > > > > > > > > > > > >> > > Derby
> > > > > > > > > > > > >> > > > > > > > database, but I want to be able to
> > > define
> > > > > the
> > > > > > > > > database
> > > > > > > > > > > to be
> > > > > > > > > > > > >> > > > project
> > > > > > > > > > > > >> > > > > > > > specific, like I was able to do in
> > > > > Glassfish.
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > What happens at the moment when I
> > deploy
> > > > the
> > > > > > > > > > application
> > > > > > > > > > > I
> > > > > > > > > > > > >> > notice
> > > > > > > > > > > > >> > > > in
> > > > > > > > > > > > >> > > > > > the
> > > > > > > > > > > > >> > > > > > > > logs that TomEE adjusts the PU
> defined
> > > to
> > > > > use
> > > > > > > the
> > > > > > > > > > > Default
> > > > > > > > > > > > >> JDBC
> > > > > > > > > > > > >> > > > > > Database,
> > > > > > > > > > > > >> > > > > > > > which was created, as I have removed
> > the
> > > > > > > > > definitition
> > > > > > > > > > of
> > > > > > > > > > > it
> > > > > > > > > > > > >> > from
> > > > > > > > > > > > >> > > > the
> > > > > > > > > > > > >> > > > > > > > tomee.xml file.
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > Here is the logs when deploying my
> > > > project:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > TomcatWebAppBuilder.start
> > > > /tomee-jee6-module
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > > > > > org.apache.catalina.startup.HostConfig
> > > > > > > > > > > > >> > > > deployWAR
> > > > > > > > > > > > >> > > > > > > > INFO: Deploying web application
> > archive
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >
> > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > > > > > > >> org.apache.openejb.config.DeploymentLoader
> > > > > > > > > > > > >> > > > > > > > addFacesConfigs
> > > > > > > > > > > > >> > > > > > > > INFO: faces config file is null
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > org.apache.openejb.config.ConfigurationFactory
> > > > > > > > > > > > >> > > > > > > > configureApplication
> > > > > > > > > > > > >> > > > > > > > INFO: Configuring enterprise
> > > application:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > > > > > > >> > > > > > deploy
> > > > > > > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > > > > > > > > localhost/tomee-jee6-module.Comp:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >>
> > > > > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > > > > > > >> > > > > > deploy
> > > > > > > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > > > TestManagementService:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > EjbDeployment(deployment-id=TestManagementService)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > > > > >> > deploy
> > > > > > > > > > > > >> > > > > > > > INFO: *Configuring
> > > > > > > > > > > > >> > >
> PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > > > > > >> > > > > > > >
> > > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > > > > >> > > > > > > setJtaDataSource
> > > > > > > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > > > > > > JerseyRestfulWebServicePU
> > > > > > > > > > > > >> > > > > > > <jta-data-source>
> > > > > > > > > > > > >> > > > > > > > to Resource ID 'Default JDBC
> Database'
> > > > from
> > > > > > > > > 'derbyDb'
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > > > > >> > > > > > > > setNonJtaDataSource
> > > > > > > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > > > > > > JerseyRestfulWebServicePU
> > > > > > > > > > > > >> > > > > > > > <non-jta-data-source> to Resource ID
> > > > > 'Default
> > > > > > > JDBC
> > > > > > > > > > > > >> > > DatabaseNonJta'
> > > > > > > > > > > > >> > > > > from
> > > > > > > > > > > > >> > > > > > > > 'null'*
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> org.apache.openejb.config.AppInfoBuilder
> > > > > > > > > > > > >> > > build
> > > > > > > > > > > > >> > > > > > > > INFO: Enterprise application
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >
> > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > > > > > > > > > > >> > > loaded.
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > > > >> > > > > > > > INFO: Assembling app:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > org.hibernate.ejb.Ejb3Configuration
> > > > > > > > > > > > >> > > configure
> > > > > > > > > > > > >> > > > > > > > INFO: Processing
> PersistenceUnitInfo [
> > > > > > > > > > > > >> > > > > > > > name: JerseyRestfulWebServicePU
> > > > > > > > > > > > >> > > > > > > > ...]
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > org.hibernate.cfg.AnnotationBinder
> > > > > > > > > > > > >> > bindClass
> > > > > > > > > > > > >> > > > > > > > INFO: Binding entity from annotated
> > > class:
> > > > > > > > > > > > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> org.hibernate.cfg.annotations.EntityBinder
> > > > > > > > > > > > >> > > > > > bindTable
> > > > > > > > > > > > >> > > > > > > > INFO: Bind entity
> > > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > > > > on
> > > > > > > > > > > > >> table
> > > > > > > > > > > > >> > > Host
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> org.hibernate.cfg.AnnotationConfiguration
> > > > > > > > > > > > >> > > > > > > > secondPassCompile
> > > > > > > > > > > > >> > > > > > > > INFO: Hibernate Validator not found:
> > > > > ignoring
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > > >
> > > > org.hibernate.connection.ConnectionProviderFactory
> > > > > > > > > > > > >> > > > > > > > newConnectionProvider
> > > > > > > > > > > > >> > > > > > > > INFO: Initializing connection
> > provider:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> >
> > > > > > > > >
> > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> >
> > > > > > > > >
> > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > > > > > >> > > > > > > configure
> > > > > > > > > > > > >> > > > > > > > INFO: Using provided datasource
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine,
> > > > version:
> > > > > > > > 2.2.4*
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: JDBC driver: HSQL Database
> > Engine
> > > > > > Driver,
> > > > > > > > > > version:
> > > > > > > > > > > > >> 2.2.4
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Automatic flush during
> > > > > > beforeCompletion():
> > > > > > > > > > > disabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Automatic session close at end
> > of
> > > > > > > > transaction:
> > > > > > > > > > > > >> disabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Scrollable result sets:
> enabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: JDBC3 getGeneratedKeys():
> > enabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Connection release mode: auto
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Default batch fetch size: 1
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Generate SQL with comments:
> > > disabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Order SQL updates by primary
> > key:
> > > > > > disabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Order SQL inserts for
> batching:
> > > > > disabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > > > > > createQueryTranslatorFactory
> > > > > > > > > > > > >> > > > > > > > INFO: Query translator:
> > > > > > > > > > > > >> > > > >
> > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Query language substitutions:
> {}
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: JPA-QL strict compliance:
> > enabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Second-level cache: enabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Query cache: disabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > > > > createCacheProvider
> > > > > > > > > > > > >> > > > > > > > INFO: Cache provider:
> > > > > > > > > > > org.hibernate.cache.NoCacheProvider
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Optimize cache for minimal
> puts:
> > > > > > disabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Structured second-level cache
> > > > entries:
> > > > > > > > > disabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Statistics: disabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Deleted entity synthetic
> > > identifier
> > > > > > > > rollback:
> > > > > > > > > > > disabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Default entity-mode: pojo
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > > >> > > > > > > > INFO: Named query checking : enabled
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > > > > > > > > >> > > > > > > > createEntityManagerFactory
> > > > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > provider=org.hibernate.ejb.HibernatePersistence) -
> > > > > > > > > > > provider
> > > > > > > > > > > > >> > time
> > > > > > > > > > > > >> > > > > 401ms*
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > >
> > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > > > Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > > > > > > > > > > > >> -->
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > >
> > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > > > >> > > > > > > > INFO:
> > > > > > Jndi(name=TestManagementServiceLocalBean)
> > > > > > > > -->
> > > > > > > > > > > > >> > > > > > > >
> > Ejb(deployment-id=TestManagementService)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > >
> > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > > > > > > > > >> > > > > > > > -->
> > > > Ejb(deployment-id=TestManagementService)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > >
> > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >>
> > > > > > > > >
> > > > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > > > > > > > > >> > > > > > > > -->
> > > > Ejb(deployment-id=TestManagementService)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.apache.openejb.cdi.CdiBuilder
> > > > > > > > > > > build
> > > > > > > > > > > > >> > > > > > > > INFO: existing thread singleton
> > service
> > > in
> > > > > > > > > > > SystemInstance()
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >
> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > > > > > >> > > > > > > > startApplication
> > > > > > > > > > > > >> > > > > > > > INFO: OpenWebBeans Container is
> > > > starting...
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > > > > > > >> > > > startUp
> > > > > > > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > > > [CdiPlugin]
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > > > > > > >> > > > startUp
> > > > > > > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > > > > > > > > > [OpenWebBeansJsfPlugin]
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > org.apache.openejb.cdi.BeansDeployer
> > > > > > > > > > > > >> > > > > > > > validateInjectionPoints
> > > > > > > > > > > > >> > > > > > > > INFO: All injection points were
> > > validated
> > > > > > > > > > successfully.
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > > > > > >> > > > > > > > startApplication
> > > > > > > > > > > > >> > > > > > > > INFO: OpenWebBeans Container has
> > > started,
> > > > it
> > > > > > > took
> > > > > > > > > [15]
> > > > > > > > > > > ms.
> > > > > > > > > > > > >> > > > > > > > using context file
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > > > >> > > > > > > > INFO: Created
> > > > > > > > > Ejb(deployment-id=TestManagementService,
> > > > > > > > > > > > >> > > > > > > > ejb-name=TestManagementService,
> > > > container=My
> > > > > > > > > Singleton
> > > > > > > > > > > > >> > Container)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > > > >> > > > > > > > INFO: Started
> > > > > > > > > Ejb(deployment-id=TestManagementService,
> > > > > > > > > > > > >> > > > > > > > ejb-name=TestManagementService,
> > > > container=My
> > > > > > > > > Singleton
> > > > > > > > > > > > >> > Container)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > > > >> > > > > > > > INFO: Deployed
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException:
> > Name
> > > > > > > [openejb]
> > > > > > > > > is
> > > > > > > > > > > not
> > > > > > > > > > > > >> bound
> > > > > > > > > > > > >> > > in
> > > > > > > > > > > > >> > > > > this
> > > > > > > > > > > > >> > > > > > > > Context. Unable to find [openejb].
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> >
> > > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> >
> > > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >>
> > > > > > > > >
> > > > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > >
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> >
> > > > > > > > > > >
> > > > > > >
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> >
> > > > > > > > > > >
> > > > > > >
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > >
> > > > > > > >
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > >
> > > > > > > > > > >
> > > > > >
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > > > > >> Method)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > >
> > > > > > > >
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >>
> > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >>
> > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >>
> > > > > > > > >
> > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > > > > >> > > > > > > > at
> > java.lang.Thread.run(Thread.java:662)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > > > >> > > > > > > > INFO: TransactionManager already
> > bound,
> > > > > > ignoring
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > > > >> > > > > > > > INFO:
> > TransactionSynchronizationRegistry
> > > > > > already
> > > > > > > > > > bound,
> > > > > > > > > > > > >> > ignoring
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException:
> No
> > > ORB
> > > > > > > > > registered
> > > > > > > > > > > with
> > > > > > > > > > > > >> the
> > > > > > > > > > > > >> > > > > OpenEJB
> > > > > > > > > > > > >> > > > > > > > system
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> >
> > > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> >
> > > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >>
> > > > > > > > >
> > > > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > >
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> >
> > > > > > > > > > >
> > > > > > >
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> >
> > > > > > > > > > >
> > > > > > >
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > >
> > > > > > > >
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > >
> > > > > > > > > > >
> > > > > >
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > > > > >> Method)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > >
> > > > > > > >
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >>
> > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >>
> > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >>
> > > > > > > > >
> > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > > > > >> > > > > > > > at
> > java.lang.Thread.run(Thread.java:662)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException:
> No
> > > > > > > > > HandleDelegate
> > > > > > > > > > > > >> > registered
> > > > > > > > > > > > >> > > > with
> > > > > > > > > > > > >> > > > > > the
> > > > > > > > > > > > >> > > > > > > > OpenEJB system
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> >
> > > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> >
> > > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >>
> > > > > > > > >
> > > > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > >
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> >
> > > > > > > > > > >
> > > > > > >
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> >
> > > > > > > > > > >
> > > > > > >
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > >
> > > > > > > >
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > >
> > > > > > > > > > >
> > > > > >
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > > > > >> Method)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > >
> > > > > > > >
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >>
> > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >>
> > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >>
> > > > > > > > >
> > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > > > > >> > > > > > > > at
> > java.lang.Thread.run(Thread.java:662)
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > org.apache.cxf.endpoint.ServerImpl
> > > > > > > > > > > > >> > > > > initDestination
> > > > > > > > > > > > >> > > > > > > > INFO: Setting the server's publish
> > > address
> > > > > to
> > > > > > be
> > > > > > > > > > > > >> > > > > > > >
> > > > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > > > > > > >> > > > > > deployEJB
> > > > > > > > > > > > >> > > > > > > > INFO: REST Service:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> > > > > > > > > > > EJB
> > > > > > > > > > > > >> > > > > > > > TestManagementService
> > > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > > > > > > >> > > > > > > > afterApplicationCreated
> > > > > > > > > > > > >> > > > > > > > INFO: REST application deployed:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > com.shenick.diversifeye.config.ApplicationConfig
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > Here is my persistence Unit:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > <persistence version="2.0" xmlns="
> > > > > > > > > > > > >> > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > > > > > > >> > > > > > > "
> > > > > > > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > > > > > > > > >> > > > > > > xsi:schemaLocation="
> > > > > > > > > > > > >> > > > > > > >
> > http://java.sun.com/xml/ns/persistence
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >
> > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > > > > > > > > > > > >> ">
> > > > > > > > > > > > >> > > > > > > > <persistence-unit
> > > > > > > name="JerseyRestfulWebServicePU"
> > > > > > > > > > > > >> > > > > > > transaction-type="JTA">
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >
> > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > > > > > > > > >> > > > > > > >
> > > <jta-data-source>derbyDb</jta-data-source>
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >
> > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > > > > > > > > >> > > > > > > > <properties>
> > > > > > > > > > > > >> > > > > > > > <property name="hibernate.dialect"
> > > > > > > > > > > > >> > > > > > > >
> > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > > > > > > > > >> > > > > > > > <property
> > name="hibernate.hbm2ddl.auto"
> > > > > > > > > > value="update"/>
> > > > > > > > > > > > >> > > > > > > > </properties>
> > > > > > > > > > > > >> > > > > > > > </persistence-unit>
> > > > > > > > > > > > >> > > > > > > > </persistence>
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > I have a context.xml and openejb.xml
> > > > > specified
> > > > > > > in
> > > > > > > > > the
> > > > > > > > > > > > >> META-INF
> > > > > > > > > > > > >> > > > folder
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > openejb.xml:
> > > > > > > > > > > > >> > > > > > > > <?xml version="1.0"
> encoding="UTF-8"?>
> > > > > > > > > > > > >> > > > > > > > <openejb>
> > > > > > > > > > > > >> > > > > > > > <Resource id="derbyDb"
> > > type="DataSource">
> > > > > > > > > > > > >> > > > > > > > JdbcDriver
> > > > > org.apache.derby.jdbc.ClientDriver
> > > > > > > > > > > > >> > > > > > > > JdbcUrl
> > > jdbc:derby://localhost:1527/sample
> > > > > > > > > > > > >> > > > > > > > UserName app
> > > > > > > > > > > > >> > > > > > > > Password app
> > > > > > > > > > > > >> > > > > > > > JtaManaged true
> > > > > > > > > > > > >> > > > > > > > </Resource>
> > > > > > > > > > > > >> > > > > > > > </openejb>
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > and context.xml:
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > <?xml version="1.0"
> encoding="UTF-8"?>
> > > > > > > > > > > > >> > > > > > > > <Context antiJARLocking="true"
> > > > > > > > > > > path="/tomee-jee6-module"/>
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > I also have the resource referenced
> in
> > > the
> > > > > > > web.xml
> > > > > > > > > > file:
> > > > > > > > > > > > >> > > > > > > > <web-app version="3.0" xmlns="
> > > > > > > > > > > > >> > http://java.sun.com/xml/ns/javaee"
> > > > > > > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > > > > > > > >> > > > > > > >
> > > http://www.w3.org/2001/XMLSchema-instance
> > > > "
> > > > > > > > > > > > >> > xsi:schemaLocation="
> > > > > > > > > > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
> > > > > > > > ">
> > > > > > > > > > > > >> > > > > > > > <session-config>
> > > > > > > > > > > > >> > > > > > > > <session-timeout>
> > > > > > > > > > > > >> > > > > > > > 30
> > > > > > > > > > > > >> > > > > > > > </session-timeout>
> > > > > > > > > > > > >> > > > > > > >   </session-config>
> > > > > > > > > > > > >> > > > > > > > <resource-ref>
> > > > > > > > > > > > >> > > > > > > > <description>
> > > > > > > > > > > > >> > > > > > > > Object factory for MyBean instances.
> > > > > > > > > > > > >> > > > > > > > </description>
> > > > > > > > > > > > >> > > > > > > > <res-ref-name>
> > > > > > > > > > > > >> > > > > > > > derbyDb
> > > > > > > > > > > > >> > > > > > > > </res-ref-name>
> > > > > > > > > > > > >> > > > > > > > <res-type>
> > > > > > > > > > > > >> > > > > > > > javax.sql.DataSource
> > > > > > > > > > > > >> > > > > > > > </res-type>
> > > > > > > > > > > > >> > > > > > > > <res-auth>
> > > > > > > > > > > > >> > > > > > > > Container
> > > > > > > > > > > > >> > > > > > > > </res-auth>
> > > > > > > > > > > > >> > > > > > > >   </resource-ref>
> > > > > > > > > > > > >> > > > > > > > </web-app>
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > What am I doing wrong, or is it not
> > > > possible
> > > > > > to
> > > > > > > > > > define a
> > > > > > > > > > > > >> > > datasource
> > > > > > > > > > > > >> > > > > at
> > > > > > > > > > > > >> > > > > > a
> > > > > > > > > > > > >> > > > > > > > project level, and it should only be
> > > > > > referenced
> > > > > > > in
> > > > > > > > > the
> > > > > > > > > > > > >> > tommee.xml
> > > > > > > > > > > > >> > > > > file?
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > Thanks in advance
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > > > John McDonnell
> > > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > > > --
> > > > > > > > > > > > >> > > > > > John
> > > > > > > > > > > > >> > > > > >
> > > > > > > > > > > > >> > > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > > > --
> > > > > > > > > > > > >> > > > John
> > > > > > > > > > > > >> > > >
> > > > > > > > > > > > >> > >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >> > --
> > > > > > > > > > > > >> > John
> > > > > > > > > > > > >> >
> > > > > > > > > > > > >>
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > John
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > John
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > John
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > John
> > >
> >
>
>
>
> --
> John
>

Re: Project specific database

Posted by John McDonnell <mc...@gmail.com>.
Yeah why not, I dont have time to make it now, but after work I will get to
it.


John

On 6 July 2012 12:16, Romain Manni-Bucau <rm...@gmail.com> wrote:

> can be a great enhancement, right!
>
> do you want to contribute such a page on the project (don't feel shy, we
> can enhance it later)?
>
> - Romain
>
>
> 2012/7/6 John McDonnell <mc...@gmail.com>
>
> > Thank you very much Romain, it is working correctly now.
> >
> > Can I make a suggestion in regards to your documentation?
> >
> > It might be helpful for people new-ish to Java EE and application servers
> > in general if you could provide a page that details the location of files
> > thats are commonly needed, as when I was trying to solve this issue I
> > couldnt work out the appropriate location, or even contents.  While the
> > mailing list is a great idea and has prove useful for me, it would help
> if
> > the documentation on the website was cleaner...
> >
> >
> >
> >
> > On 6 July 2012 11:38, Romain Manni-Bucau <rm...@gmail.com> wrote:
> >
> > > can you replace type="DataSource" by type="javax.sql.DataSource" please
> > >
> > > - Romain
> > >
> > >
> > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > >
> > > > *Slams head on desk*
> > > >
> > > > resources.xml is placed in WEB-INF/classes/META-INF???
> > > >
> > > > Damn it I tried both WEB-INF and in META-INF but neither of them
> > worked.
> > > >
> > > > I have justed tried placing the the folder you specified and
> attempted
> > to
> > > > deploy the application I got the following in my logs:
> > > >
> > > >
> > > >
> > > > 06-Jul-2012 11:14:30 org.apache.catalina.startup.HostConfig deployWAR
> > > > INFO: Deploying web application archive
> > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
> > > > 06-Jul-2012 11:14:30 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > startInternal
> > > > INFO: -------------------------
> > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.DeploymentLoader
> > > > addFacesConfigs
> > > > INFO: faces config file is null
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > > > configureApplication
> > > > INFO: Configuring enterprise application:
> > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments
> > deploy
> > > > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments
> > deploy
> > > > INFO: Auto-deploying ejb TestManagementService:
> > > > EjbDeployment(deployment-id=TestManagementService)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > > > configureService
> > > > INFO: Configuring Service(id=app/jdbc/jrws, type=Resource,
> > > > provider-id=Default JDBC Database)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > > > createRecipe
> > > > INFO: Creating Resource(id=app/jdbc/jrws)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > > > configureService
> > > > INFO: Configuring Service(id=Default Managed Container,
> type=Container,
> > > > provider-id=Default Managed Container)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > createContainer
> > > > INFO: Auto-creating a container for bean
> > > localhost/tomee-jee6-module.Comp:
> > > > Container(type=MANAGED, id=Default Managed Container)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > > > createRecipe
> > > > INFO: Creating Container(id=Default Managed Container)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.core.managed.SimplePassivater
> > > init
> > > > INFO: Using directory C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\temp
> for
> > > > stateful session passivation
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > processResourceRef
> > > > INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
> > > > localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > processResourceRef
> > > > INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in
> > bean
> > > > localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > processResourceRef
> > > > INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
> > > > TestManagementService to Resource(id=app/jdbc/jrws)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > processResourceRef
> > > > INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in
> > bean
> > > > TestManagementService to Resource(id=app/jdbc/jrws)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
> > > > INFO: Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > logAutoCreateResource
> > > > INFO: Auto-creating a Resource with id 'app/jdbc/jrwsNonJta' of type
> > > > 'DataSource for 'JerseyRestfulWebServicePU'.
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
> > > > INFO: Configuring Service(id=app/jdbc/jrwsNonJta, type=Resource,
> > > > provider-id=app/jdbc/jrws)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > > > createRecipe
> > > > INFO: Creating Resource(id=app/jdbc/jrwsNonJta)
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > > setNonJtaDataSource
> > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > <non-jta-data-source> to Resource ID 'app/jdbc/jrwsNonJta' from
> 'null'
> > > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AppInfoBuilder build
> > > > INFO: Enterprise application
> > > > "C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module"
> > > loaded.
> > > > 06-Jul-2012 11:14:31 org.apache.openejb.assembler.classic.Assembler
> > > > createApplication
> > > > INFO: Assembling app:
> > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.Version <clinit>
> > > > INFO: Hibernate Annotations 3.3.1.GA
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > > > INFO: Hibernate 3.2.5
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > > > INFO: hibernate.properties not found
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment
> > buildBytecodeProvider
> > > > INFO: Bytecode provider name : cglib
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > > > INFO: using JDK 1.4 java.sql.Timestamp handling
> > > > 06-Jul-2012 11:14:31 org.hibernate.ejb.Version <clinit>
> > > > INFO: Hibernate EntityManager 3.3.2.GA
> > > > 06-Jul-2012 11:14:31 org.hibernate.ejb.Ejb3Configuration configure
> > > > INFO: Processing PersistenceUnitInfo [
> > > > name: JerseyRestfulWebServicePU
> > > > ...]
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
> > > > INFO: Binding entity from annotated class:
> > > > com.shenick.diversifeye.domain.Host
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder
> > bindTable
> > > > INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
> > > > INFO: Binding entity from annotated class:
> > > > com.shenick.diversifeye.domain.App
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder
> > bindTable
> > > > INFO: Bind entity com.shenick.diversifeye.domain.App on table App
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationConfiguration
> > > > secondPassCompile
> > > > INFO: Hibernate Validator not found: ignoring
> > > > 06-Jul-2012 11:14:31
> org.hibernate.connection.ConnectionProviderFactory
> > > > newConnectionProvider
> > > > INFO: Initializing connection provider:
> > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > 06-Jul-2012 11:14:31
> > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > configure
> > > > INFO: Using provided datasource
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: RDBMS: Apache Derby, version: 10.8.1.2 - (1095077)
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: JDBC driver: Apache Derby Network Client JDBC Driver, version:
> > > > 10.8.2.2 - (1181258)
> > > > 06-Jul-2012 11:14:31 org.hibernate.dialect.Dialect <init>
> > > > INFO: Using dialect: org.hibernate.dialect.DerbyDialect
> > > > 06-Jul-2012 11:14:31
> > org.hibernate.transaction.TransactionFactoryFactory
> > > > buildTransactionFactory
> > > > INFO: Transaction strategy:
> > > > org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
> > > > 06-Jul-2012 11:14:31
> > > > org.hibernate.transaction.TransactionManagerLookupFactory
> > > > getTransactionManagerLookup
> > > > INFO: instantiating TransactionManagerLookup:
> > > > org.apache.openejb.hibernate.TransactionManagerLookup
> > > > 06-Jul-2012 11:14:31
> > > > org.hibernate.transaction.TransactionManagerLookupFactory
> > > > getTransactionManagerLookup
> > > > INFO: instantiated TransactionManagerLookup
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Automatic flush during beforeCompletion(): disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Automatic session close at end of transaction: disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Scrollable result sets: enabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: JDBC3 getGeneratedKeys(): disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Connection release mode: auto
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Default batch fetch size: 1
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Generate SQL with comments: disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Order SQL updates by primary key: disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Order SQL inserts for batching: disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> > > > createQueryTranslatorFactory
> > > > INFO: Query translator:
> org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > 06-Jul-2012 11:14:31 org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > <init>
> > > > INFO: Using ASTQueryTranslatorFactory
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Query language substitutions: {}
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: JPA-QL strict compliance: enabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Second-level cache: enabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Query cache: disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> > > createCacheProvider
> > > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Optimize cache for minimal puts: disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Structured second-level cache entries: disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Statistics: disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Deleted entity synthetic identifier rollback: disabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Default entity-mode: pojo
> > > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Named query checking : enabled
> > > > 06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryImpl <init>
> > > > INFO: building session factory
> > > > 06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryObjectFactory
> > > > addInstance
> > > > INFO: Not binding factory to JNDI, no JNDI name configured
> > > > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > > > INFO: Running hbm2ddl schema update
> > > > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > > > INFO: fetching database metadata
> > > > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > > > INFO: updating schema
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: table found: .APP.APP
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: columns: [id, name]
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: foreign keys: []
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: indexes: [sql120628160338910]
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: table found: .APP.HOST
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: columns: [id, name, ipaddress]
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: foreign keys: []
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: indexes: [sql120622144724970]
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: table found: .APP.HIBERNATE_UNIQUE_KEY
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: columns: [next_hi]
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: foreign keys: []
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > > INFO: indexes: []
> > > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > > > INFO: schema update complete
> > > > 06-Jul-2012 11:14:32
> > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > createEntityManagerFactory
> > > > INFO: PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > provider=org.hibernate.ejb.HibernatePersistence) - provider time
> 1098ms
> > > > 06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
> > > > destroyApplication
> > > > INFO: Undeploying app:
> > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > > > 06-Jul-2012 11:14:32 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[/tomee-jee6-module]]
> > > > in state [STARTING_PREP]
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408)
> > > > at
> > org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:298)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1053)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:839)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:824)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeployWebApps(TomcatWebAppBuilder.java:465)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1186)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:909)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > > > 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:5172)
> > > > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > > > at
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > at
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > at
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > at
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > at java.lang.Thread.run(Thread.java:662)
> > > > 06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
> > > > destroyResource
> > > > INFO: Closing DataSource: app/jdbc/jrws
> > > > 06-Jul-2012 11:14:32 org.hibernate.impl.SessionFactoryImpl close
> > > > INFO: closing
> > > > 06-Jul-2012 11:14:32 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > startInternal
> > > > SEVERE: Unable to deploy collapsed ear in war /tomee-jee6-module:
> > > > Exception: Creating application failed:
> > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> > Error
> > > > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> > for
> > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > 'DataSource'
> > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > org.apache.openejb.OpenEJBException: Creating application failed:
> > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> > Error
> > > > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> > for
> > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > 'DataSource'
> > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > > > 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:5172)
> > > > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > > > at
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > at
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > at
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > at
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > at java.lang.Thread.run(Thread.java:662)
> > > > Caused by: org.apache.openejb.OpenEJBException: Error building bean
> > > > 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> > for
> > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > 'DataSource'
> > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
> > > > ... 50 more
> > > > Caused by: org.apache.openejb.OpenEJBException: Unable to load type
> > > > 'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
> > > > ... 51 more
> > > > 06-Jul-2012 11:14:32 org.apache.catalina.core.ContainerBase
> > > > addChildInternal
> > > > SEVERE: ContainerBase.addChild: start:
> > > > org.apache.catalina.LifecycleException: Failed to start component
> > > >
> > > >
> > >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
> > > > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > > > at
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > at
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > at
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > at
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > at java.lang.Thread.run(Thread.java:662)
> > > > Caused by: org.apache.tomee.catalina.TomEERuntimeException:
> > > > org.apache.openejb.OpenEJBException: Creating application failed:
> > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> > Error
> > > > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> > for
> > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > 'DataSource'
> > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:683)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > > > 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:5172)
> > > > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > > ... 42 more
> > > > Caused by: org.apache.openejb.OpenEJBException: Creating application
> > > > failed:
> > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> > > > Error building bean 'localhost/tomee-jee6-module.Comp'. Exception:
> > class
> > > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> > for
> > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > 'DataSource'
> > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > > > ... 48 more
> > > > Caused by: org.apache.openejb.OpenEJBException: Error building bean
> > > > 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> > for
> > > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> > 'DataSource'
> > > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
> > > > ... 50 more
> > > > Caused by: org.apache.openejb.OpenEJBException: Unable to load type
> > > > 'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
> > > > ... 51 more
> > > > 06-Jul-2012 11:14:32 org.apache.catalina.startup.HostConfig deployWAR
> > > > SEVERE: Error deploying web application archive
> > > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
> > > > java.lang.IllegalStateException: ContainerBase.addChild: start:
> > > > org.apache.catalina.LifecycleException: Failed to start component
> > > >
> > > >
> > >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:902)
> > > > at
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > at
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > at
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > at
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > at java.lang.Thread.run(Thread.java:662)
> > > >
> > > > Any suggestions on where I have made a mistake?
> > > >
> > > >
> > > >
> > > > Also Thanks for you help so far Romain!
> > > >
> > > > John
> > > >
> > > >
> > > > On 6 July 2012 10:52, Romain Manni-Bucau <rm...@gmail.com>
> > wrote:
> > > >
> > > > > hmm, i'm pretty sure resources.xml works (in
> > WEB-INF/classes/META-INF)
> > > > > since it uses the same code
> > > > >
> > > > > - Romain
> > > > >
> > > > >
> > > > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > > > >
> > > > > > Sorry, yes defining the resource in the tomee.xml file works for
> > me.
> > > > > >
> > > > > > Although I was initially looking at seeing if it was possible to
> > > > provide
> > > > > > the database details within a project, like you can in Glassfish
> > > using
> > > > > the
> > > > > > glassfish-resource.xml file.  I've given up and just continued on
> > > > > > converting our simple Glassfish project into a TomEE project by
> > > > defining
> > > > > > the database resource in the tomee.xml file.
> > > > > >
> > > > > > John
> > > > > >
> > > > > > On 6 July 2012 10:23, Romain Manni-Bucau <rm...@gmail.com>
> > > > wrote:
> > > > > >
> > > > > > > using in tomee.xml:
> > > > > > >
> > > > > > > <tomee>
> > > > > > >   <Resource id="jdbc/blog" type="DataSource">
> > > > > > >     JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > >     JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > >     UserName app
> > > > > > >     Password app
> > > > > > >     JtaManaged true
> > > > > > >   </Resource>
> > > > > > > </tomee>
> > > > > > >
> > > > > > > with in persistence.xml
> > > <jta-data-source>jdbc/blog</jta-data-source>
> > > > > > >
> > > > > > > works for me.
> > > > > > >
> > > > > > > any details on your installation?
> > > > > > >
> > > > > > > i used the tomee maven plugin to add derby jars to the
> container
> > > > > > >
> > > > > > >
> > > > > > > - Romain
> > > > > > >
> > > > > > >
> > > > > > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > > > > > >
> > > > > > > > Okay, firstly apologies for the last email...
> > > > > > > >
> > > > > > > >
> > > > > > > > I tried calling the xml file resources.xml, and its in the
> > > META-INF
> > > > > > > folder,
> > > > > > > > and it is still not working.
> > > > > > > >
> > > > > > > > The Derby Jar is also in the tomee/lib/ directory along with
> > the
> > > > > > > hibernate
> > > > > > > > jar as well, but when every I try to deploy the application I
> > > still
> > > > > get
> > > > > > > > connected to the HSQL database.
> > > > > > > >
> > > > > > > > John
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On 5 July 2012 00:26, Romain Manni-Bucau <
> > rmannibucau@gmail.com>
> > > > > > wrote:
> > > > > > > >
> > > > > > > > > not sure i understood correctly,
> > > > > > > > >
> > > > > > > > > typically tomee.xml is in conf/
> > > > > > > > >
> > > > > > > > > resources.xml is in META-INF like
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml
> > > > > > > > >
> > > > > > > > > the resources.xml uses the webapp classloader where
> tomee.xml
> > > > > creates
> > > > > > > > > resources before any application deployment
> > > > > > > > >
> > > > > > > > > - Romain
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2012/7/5 John McDonnell <mc...@gmail.com>
> > > > > > > > >
> > > > > > > > > > Sorry but I am just home from a night out ....  I have
> > tried
> > > > > > calling
> > > > > > > > the
> > > > > > > > > > xml file openejb.xml tomee.xml and before I posted on
> this
> > > > > mailing
> > > > > > > > list I
> > > > > > > > > > have also tried calling the config file resources.xml and
> > > > neither
> > > > > > of
> > > > > > > > > those
> > > > > > > > > > three options worked.
> > > > > > > > > >
> > > > > > > > > > Is the contents of each file correct? If so this is
> either
> > a
> > > > bug
> > > > > > or a
> > > > > > > > > > limitation of ur project and so I should go back to
> > defining
> > > > the
> > > > > > > > > > datatsource in the servers tomee.xml file which seems
> over
> > > the
> > > > > top
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > > > On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <
> > > > > > rmannibucau@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > you didnt add derby in tomee.xml?
> > > > > > > > > > >
> > > > > > > > > > > if you want to deliver derby in your webapp use
> > > > > > > > META-INF/resources.xml
> > > > > > > > > > > instead of tomee.xml.
> > > > > > > > > > >
> > > > > > > > > > > Note: using apache maven snapshot repository you can
> add
> > to
> > > > > your
> > > > > > > pom
> > > > > > > > > > (think
> > > > > > > > > > > to rename your final to be the context name):
> > > > > > > > > > >
> > > > > > > > > > > <plugin>
> > > > > > > > > > >             <groupId>org.apache.openejb.maven</groupId>
> > > > > > > > > > >             <artifactId>tomee-maven-plugin</artifactId>
> > > > > > > > > > >             <version>1.0.0-SNAPSHOT</version>
> > > > > > > > > > >             <configuration>
> > > > > > > > > > >               <tomeeClassifier>jaxrs</tomeeClassifier>
> > > > > > > > > > >               <libs>
> > > > > > > > > > >                 <lib>dom4j:dom4j:1.6.1</lib>
> > > > > > > > > > >                 <lib>antlr:antlr:2.7.6</lib>
> > > > > > > > > > >                 <lib>cglib:cglib:2.1_3</lib>
> > > > > > > > > > >                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> > > > > > > > > > >                 <lib>org.hibernate:hibernate:3.2.5.ga
> > > </lib>
> > > > > > > > > > >
> > > > > > > > > <lib>commons-collections:commons-collections:2.1.1</lib>
> > > > > > > > > > >
> > <lib>org.hibernate:hibernate-entitymanager:
> > > > > > > 3.3.2.GA
> > > > > > > > > > </lib>
> > > > > > > > > > >
> <lib>org.hibernate:hibernate-annotations:
> > > > > > 3.3.1.GA
> > > > > > > > > </lib>
> > > > > > > > > > >
> > > > > <lib>org.hibernate:hibernate-commons-annotations:
> > > > > > > > > > 3.0.0.ga
> > > > > > > > > > > </lib>
> > > > > > > > > > >                 <lib>org.hibernate:ejb3-persistence:
> > > 1.0.1.GA
> > > > > > </lib>
> > > > > > > > > <!--
> > > > > > > > > > > derby and so on can be added the same way -->
> > > > > > > > > > >               </libs>
> > > > > > > > > > >             </configuration>
> > > > > > > > > > >           </plugin>
> > > > > > > > > > >
> > > > > > > > > > > - Romain
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > > > > >
> > > > > > > > > > > > Okay,
> > > > > > > > > > > >
> > > > > > > > > > > > I have zipped up the maven project which contains
> the 2
> > > > > > modules.
> > > > > > > >  The
> > > > > > > > > > core
> > > > > > > > > > > > module is just a simple library which is used by the
> > > TomEE
> > > > > > > Restful
> > > > > > > > > JEE6
> > > > > > > > > > > > Module.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I have the following Jars in the tomee/lib/ dir:
> > > > > > > > > > > >
> > > > > > > > > > > > cglib 2.1_3
> > > > > > > > > > > > hibernate 3.2.5.GA
> > > > > > > > > > > > hibernate-annotations 3.3.1.GA
> > > > > > > > > > > > hibernate-commons-annotations 3.3.1.GA
> > > > > > > > > > > > dom4j 1.6.1
> > > > > > > > > > > > asm 1.5.3
> > > > > > > > > > > > asm-attr 1.5.3
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > and I have editted line 294 of catalina.bat to set
> the
> > > > > > > > > > > > javax.persistence.provider property:
> > > > > > > > > > > > set
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hope this helps!
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > John McDonnell
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <
> > > > > jeanouii@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > >> Any chance, you could share a simple example to
> > > reproduce
> > > > > the
> > > > > > > > issue?
> > > > > > > > > > > >> That'd be easier to work on maybe.
> > > > > > > > > > > >>
> > > > > > > > > > > >> Jean-Louis
> > > > > > > > > > > >>
> > > > > > > > > > > >> 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > > > > > >>
> > > > > > > > > > > >> > I renamed the openejb.xml file to tomee.xml (its
> > still
> > > > in
> > > > > > the
> > > > > > > > > > META-INF
> > > > > > > > > > > >> > folder) and it looks like this now:
> > > > > > > > > > > >> >
> > > > > > > > > > > >> > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > > > >> > <tomee>
> > > > > > > > > > > >> > <Resource id="derbyDb" type="DataSource">
> > > > > > > > > > > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > > > > > > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > > > > > >> > UserName app
> > > > > > > > > > > >> > Password app
> > > > > > > > > > > >> > JtaManaged true
> > > > > > > > > > > >> > </Resource>
> > > > > > > > > > > >> > </tomee>
> > > > > > > > > > > >> >
> > > > > > > > > > > >> >
> > > > > > > > > > > >> > No joy again as the application is still using the
> > > HSQL
> > > > > > > database
> > > > > > > > > as
> > > > > > > > > > > >> opposed
> > > > > > > > > > > >> > to the Derby one.
> > > > > > > > > > > >> >
> > > > > > > > > > > >> > Any other suggestions?
> > > > > > > > > > > >> >
> > > > > > > > > > > >> >
> > > > > > > > > > > >> > John
> > > > > > > > > > > >> >
> > > > > > > > > > > >> > On 4 July 2012 15:12, Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com
> > > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > > > >> >
> > > > > > > > > > > >> > > hmm, try tomee.xml instead of openejb.xml
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> > > - Romain
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> > > 2012/7/4 John McDonnell <
> mcdonnell.john@gmail.com
> > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> > > > I have downloaded the the snapshot of 1.1.0
> and
> > > > > deployed
> > > > > > > the
> > > > > > > > > > > >> > application,
> > > > > > > > > > > >> > > > but no luck.
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > > > when deploying the application, the
> application
> > > > still
> > > > > > uses
> > > > > > > > > HSQL
> > > > > > > > > > for
> > > > > > > > > > > >> the
> > > > > > > > > > > >> > > > database, and not the defined Derby database.
> >  Is
> > > > > there
> > > > > > a
> > > > > > > > > > problem
> > > > > > > > > > > >> with
> > > > > > > > > > > >> > my
> > > > > > > > > > > >> > > > configuration?
> (context.xml/openejb.xml/web.xml)
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > > > John
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <
> > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > >
> > > > > > > > > > > >> > wrote:
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > > > > yep that's the same way netbeans deploys
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > > > - Romain
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > > > 2012/7/4 John McDonnell <
> > > mcdonnell.john@gmail.com
> > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > > > > Hey, thanks for the fast reply...
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > > > I dont use netbeans for deploying, I use
> to
> > to
> > > > > build
> > > > > > > the
> > > > > > > > > > maven
> > > > > > > > > > > >> > > project,
> > > > > > > > > > > >> > > > > and
> > > > > > > > > > > >> > > > > > then I use the management web app
> "/manager"
> > > to
> > > > > > > deploy.
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > > > I'll get the snapshot anyways and try that
> > > out.
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > > > John
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
> > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > >> >
> > > > > > > > > > > >> > > > wrote:
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > > > > Hi,
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > > > do you use netbeans to deploy?
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > > > maybe try out our snapshot since we
> fixed
> > > some
> > > > > > > issues
> > > > > > > > > > > >> regarding
> > > > > > > > > > > >> > the
> > > > > > > > > > > >> > > > way
> > > > > > > > > > > >> > > > > > > netbeans deploys.
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > > > Side note: it is tomee.xml not
> tommee.xml
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > > > - Romain
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > > > 2012/7/4 John McDonnell <
> > > > > mcdonnell.john@gmail.com
> > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > > > > I recently started looking to convert
> an
> > > > JEE6
> > > > > > > > > > application
> > > > > > > > > > > >> > working
> > > > > > > > > > > >> > > > in
> > > > > > > > > > > >> > > > > > > > Glassfish application server to using
> > > TomEE+
> > > > > 1.0
> > > > > > > > and I
> > > > > > > > > > am
> > > > > > > > > > > >> > having
> > > > > > > > > > > >> > > an
> > > > > > > > > > > >> > > > > > issue
> > > > > > > > > > > >> > > > > > > > with setting up the database.
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > If I define the Resource in the
> > tomee.xml
> > > > file
> > > > > > in
> > > > > > > > the
> > > > > > > > > > > >> > > > tomeeDir/conf/
> > > > > > > > > > > >> > > > > > > > directory I am able to use the
> database
> > I
> > > > > > specify,
> > > > > > > > > which
> > > > > > > > > > is
> > > > > > > > > > > >> a
> > > > > > > > > > > >> > > Derby
> > > > > > > > > > > >> > > > > > > > database, but I want to be able to
> > define
> > > > the
> > > > > > > > database
> > > > > > > > > > to be
> > > > > > > > > > > >> > > > project
> > > > > > > > > > > >> > > > > > > > specific, like I was able to do in
> > > > Glassfish.
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > What happens at the moment when I
> deploy
> > > the
> > > > > > > > > application
> > > > > > > > > > I
> > > > > > > > > > > >> > notice
> > > > > > > > > > > >> > > > in
> > > > > > > > > > > >> > > > > > the
> > > > > > > > > > > >> > > > > > > > logs that TomEE adjusts the PU defined
> > to
> > > > use
> > > > > > the
> > > > > > > > > > Default
> > > > > > > > > > > >> JDBC
> > > > > > > > > > > >> > > > > > Database,
> > > > > > > > > > > >> > > > > > > > which was created, as I have removed
> the
> > > > > > > > definitition
> > > > > > > > > of
> > > > > > > > > > it
> > > > > > > > > > > >> > from
> > > > > > > > > > > >> > > > the
> > > > > > > > > > > >> > > > > > > > tomee.xml file.
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > Here is the logs when deploying my
> > > project:
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > TomcatWebAppBuilder.start
> > > /tomee-jee6-module
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > > > > org.apache.catalina.startup.HostConfig
> > > > > > > > > > > >> > > > deployWAR
> > > > > > > > > > > >> > > > > > > > INFO: Deploying web application
> archive
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > >
> > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > > > > > >> org.apache.openejb.config.DeploymentLoader
> > > > > > > > > > > >> > > > > > > > addFacesConfigs
> > > > > > > > > > > >> > > > > > > > INFO: faces config file is null
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > org.apache.openejb.config.ConfigurationFactory
> > > > > > > > > > > >> > > > > > > > configureApplication
> > > > > > > > > > > >> > > > > > > > INFO: Configuring enterprise
> > application:
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > > > > > >> > > > > > deploy
> > > > > > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > > > > > > > localhost/tomee-jee6-module.Comp:
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >>
> > > > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > > > > > >> > > > > > deploy
> > > > > > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > > TestManagementService:
> > > > > > > > > > > >> > > > > > > >
> > > > > > EjbDeployment(deployment-id=TestManagementService)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > > > >> > deploy
> > > > > > > > > > > >> > > > > > > > INFO: *Configuring
> > > > > > > > > > > >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > > > > >> > > > > > > >
> > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > > > >> > > > > > > setJtaDataSource
> > > > > > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > > > > > JerseyRestfulWebServicePU
> > > > > > > > > > > >> > > > > > > <jta-data-source>
> > > > > > > > > > > >> > > > > > > > to Resource ID 'Default JDBC Database'
> > > from
> > > > > > > > 'derbyDb'
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > > > >> > > > > > > > setNonJtaDataSource
> > > > > > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > > > > > JerseyRestfulWebServicePU
> > > > > > > > > > > >> > > > > > > > <non-jta-data-source> to Resource ID
> > > > 'Default
> > > > > > JDBC
> > > > > > > > > > > >> > > DatabaseNonJta'
> > > > > > > > > > > >> > > > > from
> > > > > > > > > > > >> > > > > > > > 'null'*
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> org.apache.openejb.config.AppInfoBuilder
> > > > > > > > > > > >> > > build
> > > > > > > > > > > >> > > > > > > > INFO: Enterprise application
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > >
> "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > > > > > > > > > >> > > loaded.
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > > >> > > > > > > > INFO: Assembling app:
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.ejb.Ejb3Configuration
> > > > > > > > > > > >> > > configure
> > > > > > > > > > > >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > > > > > > > > > > >> > > > > > > > name: JerseyRestfulWebServicePU
> > > > > > > > > > > >> > > > > > > > ...]
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.hibernate.cfg.AnnotationBinder
> > > > > > > > > > > >> > bindClass
> > > > > > > > > > > >> > > > > > > > INFO: Binding entity from annotated
> > class:
> > > > > > > > > > > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> org.hibernate.cfg.annotations.EntityBinder
> > > > > > > > > > > >> > > > > > bindTable
> > > > > > > > > > > >> > > > > > > > INFO: Bind entity
> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > > > on
> > > > > > > > > > > >> table
> > > > > > > > > > > >> > > Host
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> org.hibernate.cfg.AnnotationConfiguration
> > > > > > > > > > > >> > > > > > > > secondPassCompile
> > > > > > > > > > > >> > > > > > > > INFO: Hibernate Validator not found:
> > > > ignoring
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > > >
> > > org.hibernate.connection.ConnectionProviderFactory
> > > > > > > > > > > >> > > > > > > > newConnectionProvider
> > > > > > > > > > > >> > > > > > > > INFO: Initializing connection
> provider:
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> >
> > > > > > > >
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> >
> > > > > > > >
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > > > > >> > > > > > > configure
> > > > > > > > > > > >> > > > > > > > INFO: Using provided datasource
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine,
> > > version:
> > > > > > > 2.2.4*
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: JDBC driver: HSQL Database
> Engine
> > > > > Driver,
> > > > > > > > > version:
> > > > > > > > > > > >> 2.2.4
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Automatic flush during
> > > > > beforeCompletion():
> > > > > > > > > > disabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Automatic session close at end
> of
> > > > > > > transaction:
> > > > > > > > > > > >> disabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Scrollable result sets: enabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: JDBC3 getGeneratedKeys():
> enabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Connection release mode: auto
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Default batch fetch size: 1
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Generate SQL with comments:
> > disabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Order SQL updates by primary
> key:
> > > > > disabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Order SQL inserts for batching:
> > > > disabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > > > > > createQueryTranslatorFactory
> > > > > > > > > > > >> > > > > > > > INFO: Query translator:
> > > > > > > > > > > >> > > > >
> > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Query language substitutions: {}
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: JPA-QL strict compliance:
> enabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Second-level cache: enabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Query cache: disabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > > > > createCacheProvider
> > > > > > > > > > > >> > > > > > > > INFO: Cache provider:
> > > > > > > > > > org.hibernate.cache.NoCacheProvider
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Optimize cache for minimal puts:
> > > > > disabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Structured second-level cache
> > > entries:
> > > > > > > > disabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Statistics: disabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Deleted entity synthetic
> > identifier
> > > > > > > rollback:
> > > > > > > > > > disabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Default entity-mode: pojo
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > > >> > > > > > > > INFO: Named query checking : enabled
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > > > > > > > >> > > > > > > > createEntityManagerFactory
> > > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > > > > >> > > > > > > >
> > > > > > provider=org.hibernate.ejb.HibernatePersistence) -
> > > > > > > > > > provider
> > > > > > > > > > > >> > time
> > > > > > > > > > > >> > > > > 401ms*
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > >
> org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > > Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > > > > > > > > > > >> -->
> > > > > > > > > > > >> > > > > > > >
> > > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > >
> org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > > >> > > > > > > > INFO:
> > > > > Jndi(name=TestManagementServiceLocalBean)
> > > > > > > -->
> > > > > > > > > > > >> > > > > > > >
> Ejb(deployment-id=TestManagementService)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > >
> org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > > > > > > > >> > > > > > > > -->
> > > Ejb(deployment-id=TestManagementService)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > >
> org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >>
> > > > > > > >
> > > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > > > > > > > >> > > > > > > > -->
> > > Ejb(deployment-id=TestManagementService)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.apache.openejb.cdi.CdiBuilder
> > > > > > > > > > build
> > > > > > > > > > > >> > > > > > > > INFO: existing thread singleton
> service
> > in
> > > > > > > > > > SystemInstance()
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > >
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > > > > >> > > > > > > > startApplication
> > > > > > > > > > > >> > > > > > > > INFO: OpenWebBeans Container is
> > > starting...
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > > > > > >> > > > startUp
> > > > > > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > > [CdiPlugin]
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > > > > > >> > > > startUp
> > > > > > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > > > > > > > > [OpenWebBeansJsfPlugin]
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > org.apache.openejb.cdi.BeansDeployer
> > > > > > > > > > > >> > > > > > > > validateInjectionPoints
> > > > > > > > > > > >> > > > > > > > INFO: All injection points were
> > validated
> > > > > > > > > successfully.
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > > > > >> > > > > > > > startApplication
> > > > > > > > > > > >> > > > > > > > INFO: OpenWebBeans Container has
> > started,
> > > it
> > > > > > took
> > > > > > > > [15]
> > > > > > > > > > ms.
> > > > > > > > > > > >> > > > > > > > using context file
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > > >> > > > > > > > INFO: Created
> > > > > > > > Ejb(deployment-id=TestManagementService,
> > > > > > > > > > > >> > > > > > > > ejb-name=TestManagementService,
> > > container=My
> > > > > > > > Singleton
> > > > > > > > > > > >> > Container)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > > >> > > > > > > > INFO: Started
> > > > > > > > Ejb(deployment-id=TestManagementService,
> > > > > > > > > > > >> > > > > > > > ejb-name=TestManagementService,
> > > container=My
> > > > > > > > Singleton
> > > > > > > > > > > >> > Container)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > > >> > > > > > > > INFO: Deployed
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException:
> Name
> > > > > > [openejb]
> > > > > > > > is
> > > > > > > > > > not
> > > > > > > > > > > >> bound
> > > > > > > > > > > >> > > in
> > > > > > > > > > > >> > > > > this
> > > > > > > > > > > >> > > > > > > > Context. Unable to find [openejb].
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> >
> > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> >
> > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >>
> > > > > > > >
> > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > >
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> >
> > > > > > > > > >
> > > > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> >
> > > > > > > > > >
> > > > > >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > >
> > > > > > > > > >
> > > > > > >
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > >
> > > > > > > > > >
> > > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > > > >> Method)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > >
> > > > > > > > > >
> > > > > > >
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >>
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >>
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >>
> > > > > > > >
> > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > > > >> > > > > > > > at
> java.lang.Thread.run(Thread.java:662)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > > >> > > > > > > > INFO: TransactionManager already
> bound,
> > > > > ignoring
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > > >> > > > > > > > INFO:
> TransactionSynchronizationRegistry
> > > > > already
> > > > > > > > > bound,
> > > > > > > > > > > >> > ignoring
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No
> > ORB
> > > > > > > > registered
> > > > > > > > > > with
> > > > > > > > > > > >> the
> > > > > > > > > > > >> > > > > OpenEJB
> > > > > > > > > > > >> > > > > > > > system
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> >
> > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> >
> > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >>
> > > > > > > >
> > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > >
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> >
> > > > > > > > > >
> > > > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> >
> > > > > > > > > >
> > > > > >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > >
> > > > > > > > > >
> > > > > > >
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > >
> > > > > > > > > >
> > > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > > > >> Method)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > >
> > > > > > > > > >
> > > > > > >
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >>
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >>
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >>
> > > > > > > >
> > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > > > >> > > > > > > > at
> java.lang.Thread.run(Thread.java:662)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No
> > > > > > > > HandleDelegate
> > > > > > > > > > > >> > registered
> > > > > > > > > > > >> > > > with
> > > > > > > > > > > >> > > > > > the
> > > > > > > > > > > >> > > > > > > > OpenEJB system
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> >
> > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> >
> > > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >>
> > > > > > > >
> > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > >
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> >
> > > > > > > > > >
> > > > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> >
> > > > > > > > > >
> > > > > >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > >
> > > > > > > > > >
> > > > > > >
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > >
> > > > > > > > > >
> > > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > > > >> Method)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > >
> > > > > > > > > >
> > > > > > >
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >>
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >>
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >>
> > > > > > > >
> > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > > > >> > > > > > > > at
> java.lang.Thread.run(Thread.java:662)
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > org.apache.cxf.endpoint.ServerImpl
> > > > > > > > > > > >> > > > > initDestination
> > > > > > > > > > > >> > > > > > > > INFO: Setting the server's publish
> > address
> > > > to
> > > > > be
> > > > > > > > > > > >> > > > > > > >
> > > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > > > > > >> > > > > > deployEJB
> > > > > > > > > > > >> > > > > > > > INFO: REST Service:
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> > > > > > > > > > EJB
> > > > > > > > > > > >> > > > > > > > TestManagementService
> > > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > > > > > >> > > > > > > > afterApplicationCreated
> > > > > > > > > > > >> > > > > > > > INFO: REST application deployed:
> > > > > > > > > > > >> > > > > > > >
> > > > > com.shenick.diversifeye.config.ApplicationConfig
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > Here is my persistence Unit:
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > <persistence version="2.0" xmlns="
> > > > > > > > > > > >> > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > > > > > >> > > > > > > "
> > > > > > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > > > > > > > >> > > > > > > xsi:schemaLocation="
> > > > > > > > > > > >> > > > > > > >
> http://java.sun.com/xml/ns/persistence
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > >
> http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > > > > > > > > > > >> ">
> > > > > > > > > > > >> > > > > > > > <persistence-unit
> > > > > > name="JerseyRestfulWebServicePU"
> > > > > > > > > > > >> > > > > > > transaction-type="JTA">
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > >
> <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > > > > > > > >> > > > > > > >
> > <jta-data-source>derbyDb</jta-data-source>
> > > > > > > > > > > >> > > > > > > >
> > > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > >
> <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > > > > > > > >> > > > > > > > <properties>
> > > > > > > > > > > >> > > > > > > > <property name="hibernate.dialect"
> > > > > > > > > > > >> > > > > > > >
> > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > > > > > > > >> > > > > > > > <property
> name="hibernate.hbm2ddl.auto"
> > > > > > > > > value="update"/>
> > > > > > > > > > > >> > > > > > > > </properties>
> > > > > > > > > > > >> > > > > > > > </persistence-unit>
> > > > > > > > > > > >> > > > > > > > </persistence>
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > I have a context.xml and openejb.xml
> > > > specified
> > > > > > in
> > > > > > > > the
> > > > > > > > > > > >> META-INF
> > > > > > > > > > > >> > > > folder
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > openejb.xml:
> > > > > > > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > > > >> > > > > > > > <openejb>
> > > > > > > > > > > >> > > > > > > > <Resource id="derbyDb"
> > type="DataSource">
> > > > > > > > > > > >> > > > > > > > JdbcDriver
> > > > org.apache.derby.jdbc.ClientDriver
> > > > > > > > > > > >> > > > > > > > JdbcUrl
> > jdbc:derby://localhost:1527/sample
> > > > > > > > > > > >> > > > > > > > UserName app
> > > > > > > > > > > >> > > > > > > > Password app
> > > > > > > > > > > >> > > > > > > > JtaManaged true
> > > > > > > > > > > >> > > > > > > > </Resource>
> > > > > > > > > > > >> > > > > > > > </openejb>
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > and context.xml:
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > > > >> > > > > > > > <Context antiJARLocking="true"
> > > > > > > > > > path="/tomee-jee6-module"/>
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > I also have the resource referenced in
> > the
> > > > > > web.xml
> > > > > > > > > file:
> > > > > > > > > > > >> > > > > > > > <web-app version="3.0" xmlns="
> > > > > > > > > > > >> > http://java.sun.com/xml/ns/javaee"
> > > > > > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > > > > > > >> > > > > > > >
> > http://www.w3.org/2001/XMLSchema-instance
> > > "
> > > > > > > > > > > >> > xsi:schemaLocation="
> > > > > > > > > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > > > > > > > > > >> > > > > > > >
> > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
> > > > > > > ">
> > > > > > > > > > > >> > > > > > > > <session-config>
> > > > > > > > > > > >> > > > > > > > <session-timeout>
> > > > > > > > > > > >> > > > > > > > 30
> > > > > > > > > > > >> > > > > > > > </session-timeout>
> > > > > > > > > > > >> > > > > > > >   </session-config>
> > > > > > > > > > > >> > > > > > > > <resource-ref>
> > > > > > > > > > > >> > > > > > > > <description>
> > > > > > > > > > > >> > > > > > > > Object factory for MyBean instances.
> > > > > > > > > > > >> > > > > > > > </description>
> > > > > > > > > > > >> > > > > > > > <res-ref-name>
> > > > > > > > > > > >> > > > > > > > derbyDb
> > > > > > > > > > > >> > > > > > > > </res-ref-name>
> > > > > > > > > > > >> > > > > > > > <res-type>
> > > > > > > > > > > >> > > > > > > > javax.sql.DataSource
> > > > > > > > > > > >> > > > > > > > </res-type>
> > > > > > > > > > > >> > > > > > > > <res-auth>
> > > > > > > > > > > >> > > > > > > > Container
> > > > > > > > > > > >> > > > > > > > </res-auth>
> > > > > > > > > > > >> > > > > > > >   </resource-ref>
> > > > > > > > > > > >> > > > > > > > </web-app>
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > What am I doing wrong, or is it not
> > > possible
> > > > > to
> > > > > > > > > define a
> > > > > > > > > > > >> > > datasource
> > > > > > > > > > > >> > > > > at
> > > > > > > > > > > >> > > > > > a
> > > > > > > > > > > >> > > > > > > > project level, and it should only be
> > > > > referenced
> > > > > > in
> > > > > > > > the
> > > > > > > > > > > >> > tommee.xml
> > > > > > > > > > > >> > > > > file?
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > Thanks in advance
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > > > John McDonnell
> > > > > > > > > > > >> > > > > > > >
> > > > > > > > > > > >> > > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > > > --
> > > > > > > > > > > >> > > > > > John
> > > > > > > > > > > >> > > > > >
> > > > > > > > > > > >> > > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > > > --
> > > > > > > > > > > >> > > > John
> > > > > > > > > > > >> > > >
> > > > > > > > > > > >> > >
> > > > > > > > > > > >> >
> > > > > > > > > > > >> >
> > > > > > > > > > > >> >
> > > > > > > > > > > >> > --
> > > > > > > > > > > >> > John
> > > > > > > > > > > >> >
> > > > > > > > > > > >>
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > John
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > John
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > John
> > > >
> > >
> >
> >
> >
> > --
> > John
> >
>



-- 
John

Re: Project specific database

Posted by Romain Manni-Bucau <rm...@gmail.com>.
can be a great enhancement, right!

do you want to contribute such a page on the project (don't feel shy, we
can enhance it later)?

- Romain


2012/7/6 John McDonnell <mc...@gmail.com>

> Thank you very much Romain, it is working correctly now.
>
> Can I make a suggestion in regards to your documentation?
>
> It might be helpful for people new-ish to Java EE and application servers
> in general if you could provide a page that details the location of files
> thats are commonly needed, as when I was trying to solve this issue I
> couldnt work out the appropriate location, or even contents.  While the
> mailing list is a great idea and has prove useful for me, it would help if
> the documentation on the website was cleaner...
>
>
>
>
> On 6 July 2012 11:38, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> > can you replace type="DataSource" by type="javax.sql.DataSource" please
> >
> > - Romain
> >
> >
> > 2012/7/6 John McDonnell <mc...@gmail.com>
> >
> > > *Slams head on desk*
> > >
> > > resources.xml is placed in WEB-INF/classes/META-INF???
> > >
> > > Damn it I tried both WEB-INF and in META-INF but neither of them
> worked.
> > >
> > > I have justed tried placing the the folder you specified and attempted
> to
> > > deploy the application I got the following in my logs:
> > >
> > >
> > >
> > > 06-Jul-2012 11:14:30 org.apache.catalina.startup.HostConfig deployWAR
> > > INFO: Deploying web application archive
> > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
> > > 06-Jul-2012 11:14:30 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > startInternal
> > > INFO: -------------------------
> > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.DeploymentLoader
> > > addFacesConfigs
> > > INFO: faces config file is null
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > > configureApplication
> > > INFO: Configuring enterprise application:
> > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments
> deploy
> > > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments
> deploy
> > > INFO: Auto-deploying ejb TestManagementService:
> > > EjbDeployment(deployment-id=TestManagementService)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > > configureService
> > > INFO: Configuring Service(id=app/jdbc/jrws, type=Resource,
> > > provider-id=Default JDBC Database)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > > createRecipe
> > > INFO: Creating Resource(id=app/jdbc/jrws)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > > configureService
> > > INFO: Configuring Service(id=Default Managed Container, type=Container,
> > > provider-id=Default Managed Container)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> createContainer
> > > INFO: Auto-creating a container for bean
> > localhost/tomee-jee6-module.Comp:
> > > Container(type=MANAGED, id=Default Managed Container)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > > createRecipe
> > > INFO: Creating Container(id=Default Managed Container)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.core.managed.SimplePassivater
> > init
> > > INFO: Using directory C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\temp for
> > > stateful session passivation
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > processResourceRef
> > > INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
> > > localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > processResourceRef
> > > INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in
> bean
> > > localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > processResourceRef
> > > INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
> > > TestManagementService to Resource(id=app/jdbc/jrws)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > processResourceRef
> > > INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in
> bean
> > > TestManagementService to Resource(id=app/jdbc/jrws)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
> > > INFO: Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > provider=org.hibernate.ejb.HibernatePersistence)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > logAutoCreateResource
> > > INFO: Auto-creating a Resource with id 'app/jdbc/jrwsNonJta' of type
> > > 'DataSource for 'JerseyRestfulWebServicePU'.
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
> > > INFO: Configuring Service(id=app/jdbc/jrwsNonJta, type=Resource,
> > > provider-id=app/jdbc/jrws)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > > createRecipe
> > > INFO: Creating Resource(id=app/jdbc/jrwsNonJta)
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > > setNonJtaDataSource
> > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > <non-jta-data-source> to Resource ID 'app/jdbc/jrwsNonJta' from 'null'
> > > 06-Jul-2012 11:14:30 org.apache.openejb.config.AppInfoBuilder build
> > > INFO: Enterprise application
> > > "C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module"
> > loaded.
> > > 06-Jul-2012 11:14:31 org.apache.openejb.assembler.classic.Assembler
> > > createApplication
> > > INFO: Assembling app:
> > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.Version <clinit>
> > > INFO: Hibernate Annotations 3.3.1.GA
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > > INFO: Hibernate 3.2.5
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > > INFO: hibernate.properties not found
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment
> buildBytecodeProvider
> > > INFO: Bytecode provider name : cglib
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > > INFO: using JDK 1.4 java.sql.Timestamp handling
> > > 06-Jul-2012 11:14:31 org.hibernate.ejb.Version <clinit>
> > > INFO: Hibernate EntityManager 3.3.2.GA
> > > 06-Jul-2012 11:14:31 org.hibernate.ejb.Ejb3Configuration configure
> > > INFO: Processing PersistenceUnitInfo [
> > > name: JerseyRestfulWebServicePU
> > > ...]
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
> > > INFO: Binding entity from annotated class:
> > > com.shenick.diversifeye.domain.Host
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder
> bindTable
> > > INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
> > > INFO: Binding entity from annotated class:
> > > com.shenick.diversifeye.domain.App
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder
> bindTable
> > > INFO: Bind entity com.shenick.diversifeye.domain.App on table App
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationConfiguration
> > > secondPassCompile
> > > INFO: Hibernate Validator not found: ignoring
> > > 06-Jul-2012 11:14:31 org.hibernate.connection.ConnectionProviderFactory
> > > newConnectionProvider
> > > INFO: Initializing connection provider:
> > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > 06-Jul-2012 11:14:31
> > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > configure
> > > INFO: Using provided datasource
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: RDBMS: Apache Derby, version: 10.8.1.2 - (1095077)
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: JDBC driver: Apache Derby Network Client JDBC Driver, version:
> > > 10.8.2.2 - (1181258)
> > > 06-Jul-2012 11:14:31 org.hibernate.dialect.Dialect <init>
> > > INFO: Using dialect: org.hibernate.dialect.DerbyDialect
> > > 06-Jul-2012 11:14:31
> org.hibernate.transaction.TransactionFactoryFactory
> > > buildTransactionFactory
> > > INFO: Transaction strategy:
> > > org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
> > > 06-Jul-2012 11:14:31
> > > org.hibernate.transaction.TransactionManagerLookupFactory
> > > getTransactionManagerLookup
> > > INFO: instantiating TransactionManagerLookup:
> > > org.apache.openejb.hibernate.TransactionManagerLookup
> > > 06-Jul-2012 11:14:31
> > > org.hibernate.transaction.TransactionManagerLookupFactory
> > > getTransactionManagerLookup
> > > INFO: instantiated TransactionManagerLookup
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Automatic flush during beforeCompletion(): disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Automatic session close at end of transaction: disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Scrollable result sets: enabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: JDBC3 getGeneratedKeys(): disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Connection release mode: auto
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Default batch fetch size: 1
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Generate SQL with comments: disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Order SQL updates by primary key: disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Order SQL inserts for batching: disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> > > createQueryTranslatorFactory
> > > INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > 06-Jul-2012 11:14:31 org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > <init>
> > > INFO: Using ASTQueryTranslatorFactory
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Query language substitutions: {}
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: JPA-QL strict compliance: enabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Second-level cache: enabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Query cache: disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> > createCacheProvider
> > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Optimize cache for minimal puts: disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Structured second-level cache entries: disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Statistics: disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Deleted entity synthetic identifier rollback: disabled
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Default entity-mode: pojo
> > > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Named query checking : enabled
> > > 06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryImpl <init>
> > > INFO: building session factory
> > > 06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryObjectFactory
> > > addInstance
> > > INFO: Not binding factory to JNDI, no JNDI name configured
> > > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > > INFO: Running hbm2ddl schema update
> > > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > > INFO: fetching database metadata
> > > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > > INFO: updating schema
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: table found: .APP.APP
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: columns: [id, name]
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: foreign keys: []
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: indexes: [sql120628160338910]
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: table found: .APP.HOST
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: columns: [id, name, ipaddress]
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: foreign keys: []
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: indexes: [sql120622144724970]
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: table found: .APP.HIBERNATE_UNIQUE_KEY
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: columns: [next_hi]
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: foreign keys: []
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > > INFO: indexes: []
> > > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > > INFO: schema update complete
> > > 06-Jul-2012 11:14:32
> > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > createEntityManagerFactory
> > > INFO: PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > provider=org.hibernate.ejb.HibernatePersistence) - provider time 1098ms
> > > 06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
> > > destroyApplication
> > > INFO: Undeploying app:
> > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > > 06-Jul-2012 11:14:32 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[/tomee-jee6-module]]
> > > in state [STARTING_PREP]
> > > at
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408)
> > > at
> org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:298)
> > > at
> > >
> >
> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1053)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:839)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:824)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeployWebApps(TomcatWebAppBuilder.java:465)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1186)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:909)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > > 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:5172)
> > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > at
> > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > at
> > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > at
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > at
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > at
> > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > at java.lang.Thread.run(Thread.java:662)
> > > 06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
> > > destroyResource
> > > INFO: Closing DataSource: app/jdbc/jrws
> > > 06-Jul-2012 11:14:32 org.hibernate.impl.SessionFactoryImpl close
> > > INFO: closing
> > > 06-Jul-2012 11:14:32 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > startInternal
> > > SEVERE: Unable to deploy collapsed ear in war /tomee-jee6-module:
> > > Exception: Creating application failed:
> > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> Error
> > > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> for
> > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> 'DataSource'
> > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > org.apache.openejb.OpenEJBException: Creating application failed:
> > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> Error
> > > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> for
> > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> 'DataSource'
> > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > > 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:5172)
> > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > at
> > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > at
> > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > at
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > at
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > at
> > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > at java.lang.Thread.run(Thread.java:662)
> > > Caused by: org.apache.openejb.OpenEJBException: Error building bean
> > > 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> for
> > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> 'DataSource'
> > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
> > > ... 50 more
> > > Caused by: org.apache.openejb.OpenEJBException: Unable to load type
> > > 'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
> > > ... 51 more
> > > 06-Jul-2012 11:14:32 org.apache.catalina.core.ContainerBase
> > > addChildInternal
> > > SEVERE: ContainerBase.addChild: start:
> > > org.apache.catalina.LifecycleException: Failed to start component
> > >
> > >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
> > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > at
> > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > at
> > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > at
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > at
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > at
> > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > at java.lang.Thread.run(Thread.java:662)
> > > Caused by: org.apache.tomee.catalina.TomEERuntimeException:
> > > org.apache.openejb.OpenEJBException: Creating application failed:
> > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> Error
> > > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> for
> > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> 'DataSource'
> > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:683)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > > 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:5172)
> > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > ... 42 more
> > > Caused by: org.apache.openejb.OpenEJBException: Creating application
> > > failed:
> > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> > > Error building bean 'localhost/tomee-jee6-module.Comp'. Exception:
> class
> > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> for
> > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> 'DataSource'
> > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > > ... 48 more
> > > Caused by: org.apache.openejb.OpenEJBException: Error building bean
> > > 'localhost/tomee-jee6-module.Comp'. Exception: class
> > > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource'
> for
> > > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type
> 'DataSource'
> > > for comp/env/openejb/Resource/app/jdbc/jrws
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
> > > ... 50 more
> > > Caused by: org.apache.openejb.OpenEJBException: Unable to load type
> > > 'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
> > > at
> > >
> > >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
> > > ... 51 more
> > > 06-Jul-2012 11:14:32 org.apache.catalina.startup.HostConfig deployWAR
> > > SEVERE: Error deploying web application archive
> > > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
> > > java.lang.IllegalStateException: ContainerBase.addChild: start:
> > > org.apache.catalina.LifecycleException: Failed to start component
> > >
> > >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:902)
> > > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > > at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > > at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > > at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > at
> > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > > at
> > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > at
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > at
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > > at
> > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > at java.lang.Thread.run(Thread.java:662)
> > >
> > > Any suggestions on where I have made a mistake?
> > >
> > >
> > >
> > > Also Thanks for you help so far Romain!
> > >
> > > John
> > >
> > >
> > > On 6 July 2012 10:52, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
> > >
> > > > hmm, i'm pretty sure resources.xml works (in
> WEB-INF/classes/META-INF)
> > > > since it uses the same code
> > > >
> > > > - Romain
> > > >
> > > >
> > > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > > >
> > > > > Sorry, yes defining the resource in the tomee.xml file works for
> me.
> > > > >
> > > > > Although I was initially looking at seeing if it was possible to
> > > provide
> > > > > the database details within a project, like you can in Glassfish
> > using
> > > > the
> > > > > glassfish-resource.xml file.  I've given up and just continued on
> > > > > converting our simple Glassfish project into a TomEE project by
> > > defining
> > > > > the database resource in the tomee.xml file.
> > > > >
> > > > > John
> > > > >
> > > > > On 6 July 2012 10:23, Romain Manni-Bucau <rm...@gmail.com>
> > > wrote:
> > > > >
> > > > > > using in tomee.xml:
> > > > > >
> > > > > > <tomee>
> > > > > >   <Resource id="jdbc/blog" type="DataSource">
> > > > > >     JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > >     JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > >     UserName app
> > > > > >     Password app
> > > > > >     JtaManaged true
> > > > > >   </Resource>
> > > > > > </tomee>
> > > > > >
> > > > > > with in persistence.xml
> > <jta-data-source>jdbc/blog</jta-data-source>
> > > > > >
> > > > > > works for me.
> > > > > >
> > > > > > any details on your installation?
> > > > > >
> > > > > > i used the tomee maven plugin to add derby jars to the container
> > > > > >
> > > > > >
> > > > > > - Romain
> > > > > >
> > > > > >
> > > > > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > > > > >
> > > > > > > Okay, firstly apologies for the last email...
> > > > > > >
> > > > > > >
> > > > > > > I tried calling the xml file resources.xml, and its in the
> > META-INF
> > > > > > folder,
> > > > > > > and it is still not working.
> > > > > > >
> > > > > > > The Derby Jar is also in the tomee/lib/ directory along with
> the
> > > > > > hibernate
> > > > > > > jar as well, but when every I try to deploy the application I
> > still
> > > > get
> > > > > > > connected to the HSQL database.
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 5 July 2012 00:26, Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > > > > wrote:
> > > > > > >
> > > > > > > > not sure i understood correctly,
> > > > > > > >
> > > > > > > > typically tomee.xml is in conf/
> > > > > > > >
> > > > > > > > resources.xml is in META-INF like
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml
> > > > > > > >
> > > > > > > > the resources.xml uses the webapp classloader where tomee.xml
> > > > creates
> > > > > > > > resources before any application deployment
> > > > > > > >
> > > > > > > > - Romain
> > > > > > > >
> > > > > > > >
> > > > > > > > 2012/7/5 John McDonnell <mc...@gmail.com>
> > > > > > > >
> > > > > > > > > Sorry but I am just home from a night out ....  I have
> tried
> > > > > calling
> > > > > > > the
> > > > > > > > > xml file openejb.xml tomee.xml and before I posted on this
> > > > mailing
> > > > > > > list I
> > > > > > > > > have also tried calling the config file resources.xml and
> > > neither
> > > > > of
> > > > > > > > those
> > > > > > > > > three options worked.
> > > > > > > > >
> > > > > > > > > Is the contents of each file correct? If so this is either
> a
> > > bug
> > > > > or a
> > > > > > > > > limitation of ur project and so I should go back to
> defining
> > > the
> > > > > > > > > datatsource in the servers tomee.xml file which seems over
> > the
> > > > top
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > > On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <
> > > > > rmannibucau@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > you didnt add derby in tomee.xml?
> > > > > > > > > >
> > > > > > > > > > if you want to deliver derby in your webapp use
> > > > > > > META-INF/resources.xml
> > > > > > > > > > instead of tomee.xml.
> > > > > > > > > >
> > > > > > > > > > Note: using apache maven snapshot repository you can add
> to
> > > > your
> > > > > > pom
> > > > > > > > > (think
> > > > > > > > > > to rename your final to be the context name):
> > > > > > > > > >
> > > > > > > > > > <plugin>
> > > > > > > > > >             <groupId>org.apache.openejb.maven</groupId>
> > > > > > > > > >             <artifactId>tomee-maven-plugin</artifactId>
> > > > > > > > > >             <version>1.0.0-SNAPSHOT</version>
> > > > > > > > > >             <configuration>
> > > > > > > > > >               <tomeeClassifier>jaxrs</tomeeClassifier>
> > > > > > > > > >               <libs>
> > > > > > > > > >                 <lib>dom4j:dom4j:1.6.1</lib>
> > > > > > > > > >                 <lib>antlr:antlr:2.7.6</lib>
> > > > > > > > > >                 <lib>cglib:cglib:2.1_3</lib>
> > > > > > > > > >                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> > > > > > > > > >                 <lib>org.hibernate:hibernate:3.2.5.ga
> > </lib>
> > > > > > > > > >
> > > > > > > > <lib>commons-collections:commons-collections:2.1.1</lib>
> > > > > > > > > >
> <lib>org.hibernate:hibernate-entitymanager:
> > > > > > 3.3.2.GA
> > > > > > > > > </lib>
> > > > > > > > > >                 <lib>org.hibernate:hibernate-annotations:
> > > > > 3.3.1.GA
> > > > > > > > </lib>
> > > > > > > > > >
> > > > <lib>org.hibernate:hibernate-commons-annotations:
> > > > > > > > > 3.0.0.ga
> > > > > > > > > > </lib>
> > > > > > > > > >                 <lib>org.hibernate:ejb3-persistence:
> > 1.0.1.GA
> > > > > </lib>
> > > > > > > > <!--
> > > > > > > > > > derby and so on can be added the same way -->
> > > > > > > > > >               </libs>
> > > > > > > > > >             </configuration>
> > > > > > > > > >           </plugin>
> > > > > > > > > >
> > > > > > > > > > - Romain
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > > > >
> > > > > > > > > > > Okay,
> > > > > > > > > > >
> > > > > > > > > > > I have zipped up the maven project which contains the 2
> > > > > modules.
> > > > > > >  The
> > > > > > > > > core
> > > > > > > > > > > module is just a simple library which is used by the
> > TomEE
> > > > > > Restful
> > > > > > > > JEE6
> > > > > > > > > > > Module.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I have the following Jars in the tomee/lib/ dir:
> > > > > > > > > > >
> > > > > > > > > > > cglib 2.1_3
> > > > > > > > > > > hibernate 3.2.5.GA
> > > > > > > > > > > hibernate-annotations 3.3.1.GA
> > > > > > > > > > > hibernate-commons-annotations 3.3.1.GA
> > > > > > > > > > > dom4j 1.6.1
> > > > > > > > > > > asm 1.5.3
> > > > > > > > > > > asm-attr 1.5.3
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > and I have editted line 294 of catalina.bat to set the
> > > > > > > > > > > javax.persistence.provider property:
> > > > > > > > > > > set
> > > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hope this helps!
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > John McDonnell
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <
> > > > jeanouii@gmail.com>
> > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > >> Any chance, you could share a simple example to
> > reproduce
> > > > the
> > > > > > > issue?
> > > > > > > > > > >> That'd be easier to work on maybe.
> > > > > > > > > > >>
> > > > > > > > > > >> Jean-Louis
> > > > > > > > > > >>
> > > > > > > > > > >> 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > > > > >>
> > > > > > > > > > >> > I renamed the openejb.xml file to tomee.xml (its
> still
> > > in
> > > > > the
> > > > > > > > > META-INF
> > > > > > > > > > >> > folder) and it looks like this now:
> > > > > > > > > > >> >
> > > > > > > > > > >> > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > > >> > <tomee>
> > > > > > > > > > >> > <Resource id="derbyDb" type="DataSource">
> > > > > > > > > > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > > > > > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > > > > >> > UserName app
> > > > > > > > > > >> > Password app
> > > > > > > > > > >> > JtaManaged true
> > > > > > > > > > >> > </Resource>
> > > > > > > > > > >> > </tomee>
> > > > > > > > > > >> >
> > > > > > > > > > >> >
> > > > > > > > > > >> > No joy again as the application is still using the
> > HSQL
> > > > > > database
> > > > > > > > as
> > > > > > > > > > >> opposed
> > > > > > > > > > >> > to the Derby one.
> > > > > > > > > > >> >
> > > > > > > > > > >> > Any other suggestions?
> > > > > > > > > > >> >
> > > > > > > > > > >> >
> > > > > > > > > > >> > John
> > > > > > > > > > >> >
> > > > > > > > > > >> > On 4 July 2012 15:12, Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > > >
> > > > > > > > > wrote:
> > > > > > > > > > >> >
> > > > > > > > > > >> > > hmm, try tomee.xml instead of openejb.xml
> > > > > > > > > > >> > >
> > > > > > > > > > >> > > - Romain
> > > > > > > > > > >> > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> > > 2012/7/4 John McDonnell <mcdonnell.john@gmail.com
> >
> > > > > > > > > > >> > >
> > > > > > > > > > >> > > > I have downloaded the the snapshot of 1.1.0 and
> > > > deployed
> > > > > > the
> > > > > > > > > > >> > application,
> > > > > > > > > > >> > > > but no luck.
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > > > when deploying the application, the application
> > > still
> > > > > uses
> > > > > > > > HSQL
> > > > > > > > > for
> > > > > > > > > > >> the
> > > > > > > > > > >> > > > database, and not the defined Derby database.
>  Is
> > > > there
> > > > > a
> > > > > > > > > problem
> > > > > > > > > > >> with
> > > > > > > > > > >> > my
> > > > > > > > > > >> > > > configuration? (context.xml/openejb.xml/web.xml)
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > > > John
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <
> > > > > > > > rmannibucau@gmail.com
> > > > > > > > > >
> > > > > > > > > > >> > wrote:
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > > > > yep that's the same way netbeans deploys
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > > > - Romain
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > > > 2012/7/4 John McDonnell <
> > mcdonnell.john@gmail.com
> > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > > > > Hey, thanks for the fast reply...
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > > > I dont use netbeans for deploying, I use to
> to
> > > > build
> > > > > > the
> > > > > > > > > maven
> > > > > > > > > > >> > > project,
> > > > > > > > > > >> > > > > and
> > > > > > > > > > >> > > > > > then I use the management web app "/manager"
> > to
> > > > > > deploy.
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > > > I'll get the snapshot anyways and try that
> > out.
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > > > John
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
> > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > >> >
> > > > > > > > > > >> > > > wrote:
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > > > > Hi,
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > > > do you use netbeans to deploy?
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > > > maybe try out our snapshot since we fixed
> > some
> > > > > > issues
> > > > > > > > > > >> regarding
> > > > > > > > > > >> > the
> > > > > > > > > > >> > > > way
> > > > > > > > > > >> > > > > > > netbeans deploys.
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > > > Side note: it is tomee.xml not tommee.xml
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > > > - Romain
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > > > 2012/7/4 John McDonnell <
> > > > mcdonnell.john@gmail.com
> > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > > > > I recently started looking to convert an
> > > JEE6
> > > > > > > > > application
> > > > > > > > > > >> > working
> > > > > > > > > > >> > > > in
> > > > > > > > > > >> > > > > > > > Glassfish application server to using
> > TomEE+
> > > > 1.0
> > > > > > > and I
> > > > > > > > > am
> > > > > > > > > > >> > having
> > > > > > > > > > >> > > an
> > > > > > > > > > >> > > > > > issue
> > > > > > > > > > >> > > > > > > > with setting up the database.
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > If I define the Resource in the
> tomee.xml
> > > file
> > > > > in
> > > > > > > the
> > > > > > > > > > >> > > > tomeeDir/conf/
> > > > > > > > > > >> > > > > > > > directory I am able to use the database
> I
> > > > > specify,
> > > > > > > > which
> > > > > > > > > is
> > > > > > > > > > >> a
> > > > > > > > > > >> > > Derby
> > > > > > > > > > >> > > > > > > > database, but I want to be able to
> define
> > > the
> > > > > > > database
> > > > > > > > > to be
> > > > > > > > > > >> > > > project
> > > > > > > > > > >> > > > > > > > specific, like I was able to do in
> > > Glassfish.
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > What happens at the moment when I deploy
> > the
> > > > > > > > application
> > > > > > > > > I
> > > > > > > > > > >> > notice
> > > > > > > > > > >> > > > in
> > > > > > > > > > >> > > > > > the
> > > > > > > > > > >> > > > > > > > logs that TomEE adjusts the PU defined
> to
> > > use
> > > > > the
> > > > > > > > > Default
> > > > > > > > > > >> JDBC
> > > > > > > > > > >> > > > > > Database,
> > > > > > > > > > >> > > > > > > > which was created, as I have removed the
> > > > > > > definitition
> > > > > > > > of
> > > > > > > > > it
> > > > > > > > > > >> > from
> > > > > > > > > > >> > > > the
> > > > > > > > > > >> > > > > > > > tomee.xml file.
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > Here is the logs when deploying my
> > project:
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > TomcatWebAppBuilder.start
> > /tomee-jee6-module
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > > > org.apache.catalina.startup.HostConfig
> > > > > > > > > > >> > > > deployWAR
> > > > > > > > > > >> > > > > > > > INFO: Deploying web application archive
> > > > > > > > > > >> > > > > > > >
> > > > > > > > >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > > > > >> org.apache.openejb.config.DeploymentLoader
> > > > > > > > > > >> > > > > > > > addFacesConfigs
> > > > > > > > > > >> > > > > > > > INFO: faces config file is null
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > org.apache.openejb.config.ConfigurationFactory
> > > > > > > > > > >> > > > > > > > configureApplication
> > > > > > > > > > >> > > > > > > > INFO: Configuring enterprise
> application:
> > > > > > > > > > >> > > > > > > >
> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > > > > >> > > > > > deploy
> > > > > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > > > > > > localhost/tomee-jee6-module.Comp:
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >>
> > > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > > > > >> > > > > > deploy
> > > > > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > TestManagementService:
> > > > > > > > > > >> > > > > > > >
> > > > > EjbDeployment(deployment-id=TestManagementService)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > > >> > deploy
> > > > > > > > > > >> > > > > > > > INFO: *Configuring
> > > > > > > > > > >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > > > >> > > > > > > >
> > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > > >> > > > > > > setJtaDataSource
> > > > > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > > > > JerseyRestfulWebServicePU
> > > > > > > > > > >> > > > > > > <jta-data-source>
> > > > > > > > > > >> > > > > > > > to Resource ID 'Default JDBC Database'
> > from
> > > > > > > 'derbyDb'
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > > >> > > > > > > > setNonJtaDataSource
> > > > > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > > > > JerseyRestfulWebServicePU
> > > > > > > > > > >> > > > > > > > <non-jta-data-source> to Resource ID
> > > 'Default
> > > > > JDBC
> > > > > > > > > > >> > > DatabaseNonJta'
> > > > > > > > > > >> > > > > from
> > > > > > > > > > >> > > > > > > > 'null'*
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> org.apache.openejb.config.AppInfoBuilder
> > > > > > > > > > >> > > build
> > > > > > > > > > >> > > > > > > > INFO: Enterprise application
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > > > > > > > > >> > > loaded.
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > >> > > > > > > > INFO: Assembling app:
> > > > > > > > > > >> > > > > > > >
> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.ejb.Ejb3Configuration
> > > > > > > > > > >> > > configure
> > > > > > > > > > >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > > > > > > > > > >> > > > > > > > name: JerseyRestfulWebServicePU
> > > > > > > > > > >> > > > > > > > ...]
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.hibernate.cfg.AnnotationBinder
> > > > > > > > > > >> > bindClass
> > > > > > > > > > >> > > > > > > > INFO: Binding entity from annotated
> class:
> > > > > > > > > > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> org.hibernate.cfg.annotations.EntityBinder
> > > > > > > > > > >> > > > > > bindTable
> > > > > > > > > > >> > > > > > > > INFO: Bind entity
> > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > > on
> > > > > > > > > > >> table
> > > > > > > > > > >> > > Host
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> org.hibernate.cfg.AnnotationConfiguration
> > > > > > > > > > >> > > > > > > > secondPassCompile
> > > > > > > > > > >> > > > > > > > INFO: Hibernate Validator not found:
> > > ignoring
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > > >
> > org.hibernate.connection.ConnectionProviderFactory
> > > > > > > > > > >> > > > > > > > newConnectionProvider
> > > > > > > > > > >> > > > > > > > INFO: Initializing connection provider:
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> >
> > > > > > >
> org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> >
> > > > > > >
> org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > > > >> > > > > > > configure
> > > > > > > > > > >> > > > > > > > INFO: Using provided datasource
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine,
> > version:
> > > > > > 2.2.4*
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: JDBC driver: HSQL Database Engine
> > > > Driver,
> > > > > > > > version:
> > > > > > > > > > >> 2.2.4
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Automatic flush during
> > > > beforeCompletion():
> > > > > > > > > disabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Automatic session close at end of
> > > > > > transaction:
> > > > > > > > > > >> disabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Scrollable result sets: enabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Connection release mode: auto
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Default batch fetch size: 1
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Generate SQL with comments:
> disabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Order SQL updates by primary key:
> > > > disabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Order SQL inserts for batching:
> > > disabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > > > > > createQueryTranslatorFactory
> > > > > > > > > > >> > > > > > > > INFO: Query translator:
> > > > > > > > > > >> > > > >
> org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Query language substitutions: {}
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: JPA-QL strict compliance: enabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Second-level cache: enabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Query cache: disabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > > > > createCacheProvider
> > > > > > > > > > >> > > > > > > > INFO: Cache provider:
> > > > > > > > > org.hibernate.cache.NoCacheProvider
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Optimize cache for minimal puts:
> > > > disabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Structured second-level cache
> > entries:
> > > > > > > disabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Statistics: disabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Deleted entity synthetic
> identifier
> > > > > > rollback:
> > > > > > > > > disabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Default entity-mode: pojo
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > > >> > > > buildSettings
> > > > > > > > > > >> > > > > > > > INFO: Named query checking : enabled
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > > > > > >
> > > > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > > > > > > >> > > > > > > > createEntityManagerFactory
> > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > > > >> > > > > > > >
> > > > > provider=org.hibernate.ejb.HibernatePersistence) -
> > > > > > > > > provider
> > > > > > > > > > >> > time
> > > > > > > > > > >> > > > > 401ms*
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > > > > > > > > > >> -->
> > > > > > > > > > >> > > > > > > >
> > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > >> > > > > > > > INFO:
> > > > Jndi(name=TestManagementServiceLocalBean)
> > > > > > -->
> > > > > > > > > > >> > > > > > > > Ejb(deployment-id=TestManagementService)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > > > > > > >> > > > > > > > -->
> > Ejb(deployment-id=TestManagementService)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > > >> > > > > > > bind
> > > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >>
> > > > > > >
> > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > > > > > > >> > > > > > > > -->
> > Ejb(deployment-id=TestManagementService)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.apache.openejb.cdi.CdiBuilder
> > > > > > > > > build
> > > > > > > > > > >> > > > > > > > INFO: existing thread singleton service
> in
> > > > > > > > > SystemInstance()
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > > > >> > > > > > > > startApplication
> > > > > > > > > > >> > > > > > > > INFO: OpenWebBeans Container is
> > starting...
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > > > > >> > > > startUp
> > > > > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > [CdiPlugin]
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > > > > >> > > > startUp
> > > > > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > > > > > > > [OpenWebBeansJsfPlugin]
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.apache.openejb.cdi.BeansDeployer
> > > > > > > > > > >> > > > > > > > validateInjectionPoints
> > > > > > > > > > >> > > > > > > > INFO: All injection points were
> validated
> > > > > > > > successfully.
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > > > >> > > > > > > > startApplication
> > > > > > > > > > >> > > > > > > > INFO: OpenWebBeans Container has
> started,
> > it
> > > > > took
> > > > > > > [15]
> > > > > > > > > ms.
> > > > > > > > > > >> > > > > > > > using context file
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > >> > > > > > > > INFO: Created
> > > > > > > Ejb(deployment-id=TestManagementService,
> > > > > > > > > > >> > > > > > > > ejb-name=TestManagementService,
> > container=My
> > > > > > > Singleton
> > > > > > > > > > >> > Container)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > >> > > > > > > > INFO: Started
> > > > > > > Ejb(deployment-id=TestManagementService,
> > > > > > > > > > >> > > > > > > > ejb-name=TestManagementService,
> > container=My
> > > > > > > Singleton
> > > > > > > > > > >> > Container)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > > >> > > > > > > > INFO: Deployed
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: Name
> > > > > [openejb]
> > > > > > > is
> > > > > > > > > not
> > > > > > > > > > >> bound
> > > > > > > > > > >> > > in
> > > > > > > > > > >> > > > > this
> > > > > > > > > > >> > > > > > > > Context. Unable to find [openejb].
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> >
> > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> >
> > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > >
> > > > > > > > > > >>
> > > > > > >
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > >
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> >
> > > > > > > > >
> > > > >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> >
> > > > > > > > >
> > > > >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > >
> > > > > > > > >
> > > > > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > >
> > > > > > > > >
> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > > >> Method)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > > >> > > > > > > > at
> > > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > >
> > > > > > > > >
> > > > > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >>
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >>
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > >
> > > > > > > > > > >>
> > > > > > >
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > >> > > > > > > > INFO: TransactionManager already bound,
> > > > ignoring
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > >> > > > > > > > INFO: TransactionSynchronizationRegistry
> > > > already
> > > > > > > > bound,
> > > > > > > > > > >> > ignoring
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No
> ORB
> > > > > > > registered
> > > > > > > > > with
> > > > > > > > > > >> the
> > > > > > > > > > >> > > > > OpenEJB
> > > > > > > > > > >> > > > > > > > system
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> >
> > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> >
> > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > >
> > > > > > > > > > >>
> > > > > > >
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > >
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> >
> > > > > > > > >
> > > > >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> >
> > > > > > > > >
> > > > >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > >
> > > > > > > > >
> > > > > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > >
> > > > > > > > >
> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > > >> Method)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > > >> > > > > > > > at
> > > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > >
> > > > > > > > >
> > > > > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >>
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >>
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > >
> > > > > > > > > > >>
> > > > > > >
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No
> > > > > > > HandleDelegate
> > > > > > > > > > >> > registered
> > > > > > > > > > >> > > > with
> > > > > > > > > > >> > > > > > the
> > > > > > > > > > >> > > > > > > > OpenEJB system
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> >
> > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> >
> > > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > >
> > > > > > > > > > >>
> > > > > > >
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > >
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> >
> > > > > > > > >
> > > > >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> >
> > > > > > > > >
> > > > >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > >
> > > > > > > > >
> > > > > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > >
> > > > > > > > >
> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > > >> Method)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > > >> > > > > > > > at
> > > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > >
> > > > > > > > >
> > > > > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >>
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >>
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > >
> > > > > > > > > > >>
> > > > > > >
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > > >> > > > > > > > at
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > org.apache.cxf.endpoint.ServerImpl
> > > > > > > > > > >> > > > > initDestination
> > > > > > > > > > >> > > > > > > > INFO: Setting the server's publish
> address
> > > to
> > > > be
> > > > > > > > > > >> > > > > > > >
> > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > > > > >> > > > > > deployEJB
> > > > > > > > > > >> > > > > > > > INFO: REST Service:
> > > > > > > > > > >> > > > > > > >
> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> > > > > > > > > EJB
> > > > > > > > > > >> > > > > > > > TestManagementService
> > > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > > > > >> > > > > > > > afterApplicationCreated
> > > > > > > > > > >> > > > > > > > INFO: REST application deployed:
> > > > > > > > > > >> > > > > > > >
> > > > com.shenick.diversifeye.config.ApplicationConfig
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > Here is my persistence Unit:
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > <persistence version="2.0" xmlns="
> > > > > > > > > > >> > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > > > > >> > > > > > > "
> > > > > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > > > > > > >> > > > > > > xsi:schemaLocation="
> > > > > > > > > > >> > > > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > > > > > > > > > >> ">
> > > > > > > > > > >> > > > > > > > <persistence-unit
> > > > > name="JerseyRestfulWebServicePU"
> > > > > > > > > > >> > > > > > > transaction-type="JTA">
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > > > > > > >> > > > > > > >
> <jta-data-source>derbyDb</jta-data-source>
> > > > > > > > > > >> > > > > > > >
> > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > > > > > > >> > > > > > > > <properties>
> > > > > > > > > > >> > > > > > > > <property name="hibernate.dialect"
> > > > > > > > > > >> > > > > > > >
> > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > > > > > > >> > > > > > > > <property name="hibernate.hbm2ddl.auto"
> > > > > > > > value="update"/>
> > > > > > > > > > >> > > > > > > > </properties>
> > > > > > > > > > >> > > > > > > > </persistence-unit>
> > > > > > > > > > >> > > > > > > > </persistence>
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > I have a context.xml and openejb.xml
> > > specified
> > > > > in
> > > > > > > the
> > > > > > > > > > >> META-INF
> > > > > > > > > > >> > > > folder
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > openejb.xml:
> > > > > > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > > >> > > > > > > > <openejb>
> > > > > > > > > > >> > > > > > > > <Resource id="derbyDb"
> type="DataSource">
> > > > > > > > > > >> > > > > > > > JdbcDriver
> > > org.apache.derby.jdbc.ClientDriver
> > > > > > > > > > >> > > > > > > > JdbcUrl
> jdbc:derby://localhost:1527/sample
> > > > > > > > > > >> > > > > > > > UserName app
> > > > > > > > > > >> > > > > > > > Password app
> > > > > > > > > > >> > > > > > > > JtaManaged true
> > > > > > > > > > >> > > > > > > > </Resource>
> > > > > > > > > > >> > > > > > > > </openejb>
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > and context.xml:
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > > >> > > > > > > > <Context antiJARLocking="true"
> > > > > > > > > path="/tomee-jee6-module"/>
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > I also have the resource referenced in
> the
> > > > > web.xml
> > > > > > > > file:
> > > > > > > > > > >> > > > > > > > <web-app version="3.0" xmlns="
> > > > > > > > > > >> > http://java.sun.com/xml/ns/javaee"
> > > > > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > > > > > >> > > > > > > >
> http://www.w3.org/2001/XMLSchema-instance
> > "
> > > > > > > > > > >> > xsi:schemaLocation="
> > > > > > > > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > > > > > > > > >> > > > > > > >
> > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
> > > > > > ">
> > > > > > > > > > >> > > > > > > > <session-config>
> > > > > > > > > > >> > > > > > > > <session-timeout>
> > > > > > > > > > >> > > > > > > > 30
> > > > > > > > > > >> > > > > > > > </session-timeout>
> > > > > > > > > > >> > > > > > > >   </session-config>
> > > > > > > > > > >> > > > > > > > <resource-ref>
> > > > > > > > > > >> > > > > > > > <description>
> > > > > > > > > > >> > > > > > > > Object factory for MyBean instances.
> > > > > > > > > > >> > > > > > > > </description>
> > > > > > > > > > >> > > > > > > > <res-ref-name>
> > > > > > > > > > >> > > > > > > > derbyDb
> > > > > > > > > > >> > > > > > > > </res-ref-name>
> > > > > > > > > > >> > > > > > > > <res-type>
> > > > > > > > > > >> > > > > > > > javax.sql.DataSource
> > > > > > > > > > >> > > > > > > > </res-type>
> > > > > > > > > > >> > > > > > > > <res-auth>
> > > > > > > > > > >> > > > > > > > Container
> > > > > > > > > > >> > > > > > > > </res-auth>
> > > > > > > > > > >> > > > > > > >   </resource-ref>
> > > > > > > > > > >> > > > > > > > </web-app>
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > What am I doing wrong, or is it not
> > possible
> > > > to
> > > > > > > > define a
> > > > > > > > > > >> > > datasource
> > > > > > > > > > >> > > > > at
> > > > > > > > > > >> > > > > > a
> > > > > > > > > > >> > > > > > > > project level, and it should only be
> > > > referenced
> > > > > in
> > > > > > > the
> > > > > > > > > > >> > tommee.xml
> > > > > > > > > > >> > > > > file?
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > Thanks in advance
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > > > John McDonnell
> > > > > > > > > > >> > > > > > > >
> > > > > > > > > > >> > > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > > > --
> > > > > > > > > > >> > > > > > John
> > > > > > > > > > >> > > > > >
> > > > > > > > > > >> > > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > > > --
> > > > > > > > > > >> > > > John
> > > > > > > > > > >> > > >
> > > > > > > > > > >> > >
> > > > > > > > > > >> >
> > > > > > > > > > >> >
> > > > > > > > > > >> >
> > > > > > > > > > >> > --
> > > > > > > > > > >> > John
> > > > > > > > > > >> >
> > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > John
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > John
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > John
> > >
> >
>
>
>
> --
> John
>

Re: Project specific database

Posted by John McDonnell <mc...@gmail.com>.
Thank you very much Romain, it is working correctly now.

Can I make a suggestion in regards to your documentation?

It might be helpful for people new-ish to Java EE and application servers
in general if you could provide a page that details the location of files
thats are commonly needed, as when I was trying to solve this issue I
couldnt work out the appropriate location, or even contents.  While the
mailing list is a great idea and has prove useful for me, it would help if
the documentation on the website was cleaner...




On 6 July 2012 11:38, Romain Manni-Bucau <rm...@gmail.com> wrote:

> can you replace type="DataSource" by type="javax.sql.DataSource" please
>
> - Romain
>
>
> 2012/7/6 John McDonnell <mc...@gmail.com>
>
> > *Slams head on desk*
> >
> > resources.xml is placed in WEB-INF/classes/META-INF???
> >
> > Damn it I tried both WEB-INF and in META-INF but neither of them worked.
> >
> > I have justed tried placing the the folder you specified and attempted to
> > deploy the application I got the following in my logs:
> >
> >
> >
> > 06-Jul-2012 11:14:30 org.apache.catalina.startup.HostConfig deployWAR
> > INFO: Deploying web application archive
> > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
> > 06-Jul-2012 11:14:30 org.apache.tomee.catalina.TomcatWebAppBuilder
> > startInternal
> > INFO: -------------------------
> > TomcatWebAppBuilder.start /tomee-jee6-module
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.DeploymentLoader
> > addFacesConfigs
> > INFO: faces config file is null
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > configureApplication
> > INFO: Configuring enterprise application:
> > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments deploy
> > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments deploy
> > INFO: Auto-deploying ejb TestManagementService:
> > EjbDeployment(deployment-id=TestManagementService)
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > configureService
> > INFO: Configuring Service(id=app/jdbc/jrws, type=Resource,
> > provider-id=Default JDBC Database)
> > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating Resource(id=app/jdbc/jrws)
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> > configureService
> > INFO: Configuring Service(id=Default Managed Container, type=Container,
> > provider-id=Default Managed Container)
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig createContainer
> > INFO: Auto-creating a container for bean
> localhost/tomee-jee6-module.Comp:
> > Container(type=MANAGED, id=Default Managed Container)
> > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating Container(id=Default Managed Container)
> > 06-Jul-2012 11:14:30 org.apache.openejb.core.managed.SimplePassivater
> init
> > INFO: Using directory C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\temp for
> > stateful session passivation
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > processResourceRef
> > INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
> > localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > processResourceRef
> > INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in bean
> > localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > processResourceRef
> > INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
> > TestManagementService to Resource(id=app/jdbc/jrws)
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > processResourceRef
> > INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in bean
> > TestManagementService to Resource(id=app/jdbc/jrws)
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
> > INFO: Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
> > provider=org.hibernate.ejb.HibernatePersistence)
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > logAutoCreateResource
> > INFO: Auto-creating a Resource with id 'app/jdbc/jrwsNonJta' of type
> > 'DataSource for 'JerseyRestfulWebServicePU'.
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
> > INFO: Configuring Service(id=app/jdbc/jrwsNonJta, type=Resource,
> > provider-id=app/jdbc/jrws)
> > 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating Resource(id=app/jdbc/jrwsNonJta)
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> > setNonJtaDataSource
> > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > <non-jta-data-source> to Resource ID 'app/jdbc/jrwsNonJta' from 'null'
> > 06-Jul-2012 11:14:30 org.apache.openejb.config.AppInfoBuilder build
> > INFO: Enterprise application
> > "C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module"
> loaded.
> > 06-Jul-2012 11:14:31 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Assembling app:
> > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.Version <clinit>
> > INFO: Hibernate Annotations 3.3.1.GA
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > INFO: Hibernate 3.2.5
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > INFO: hibernate.properties not found
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment buildBytecodeProvider
> > INFO: Bytecode provider name : cglib
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> > INFO: using JDK 1.4 java.sql.Timestamp handling
> > 06-Jul-2012 11:14:31 org.hibernate.ejb.Version <clinit>
> > INFO: Hibernate EntityManager 3.3.2.GA
> > 06-Jul-2012 11:14:31 org.hibernate.ejb.Ejb3Configuration configure
> > INFO: Processing PersistenceUnitInfo [
> > name: JerseyRestfulWebServicePU
> > ...]
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
> > INFO: Binding entity from annotated class:
> > com.shenick.diversifeye.domain.Host
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder bindTable
> > INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
> > INFO: Binding entity from annotated class:
> > com.shenick.diversifeye.domain.App
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder bindTable
> > INFO: Bind entity com.shenick.diversifeye.domain.App on table App
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationConfiguration
> > secondPassCompile
> > INFO: Hibernate Validator not found: ignoring
> > 06-Jul-2012 11:14:31 org.hibernate.connection.ConnectionProviderFactory
> > newConnectionProvider
> > INFO: Initializing connection provider:
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > 06-Jul-2012 11:14:31
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> configure
> > INFO: Using provided datasource
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: RDBMS: Apache Derby, version: 10.8.1.2 - (1095077)
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: JDBC driver: Apache Derby Network Client JDBC Driver, version:
> > 10.8.2.2 - (1181258)
> > 06-Jul-2012 11:14:31 org.hibernate.dialect.Dialect <init>
> > INFO: Using dialect: org.hibernate.dialect.DerbyDialect
> > 06-Jul-2012 11:14:31 org.hibernate.transaction.TransactionFactoryFactory
> > buildTransactionFactory
> > INFO: Transaction strategy:
> > org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
> > 06-Jul-2012 11:14:31
> > org.hibernate.transaction.TransactionManagerLookupFactory
> > getTransactionManagerLookup
> > INFO: instantiating TransactionManagerLookup:
> > org.apache.openejb.hibernate.TransactionManagerLookup
> > 06-Jul-2012 11:14:31
> > org.hibernate.transaction.TransactionManagerLookupFactory
> > getTransactionManagerLookup
> > INFO: instantiated TransactionManagerLookup
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Automatic flush during beforeCompletion(): disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Automatic session close at end of transaction: disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Scrollable result sets: enabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: JDBC3 getGeneratedKeys(): disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Connection release mode: auto
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Default batch fetch size: 1
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Generate SQL with comments: disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Order SQL updates by primary key: disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Order SQL inserts for batching: disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> > createQueryTranslatorFactory
> > INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > 06-Jul-2012 11:14:31 org.hibernate.hql.ast.ASTQueryTranslatorFactory
> <init>
> > INFO: Using ASTQueryTranslatorFactory
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Query language substitutions: {}
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: JPA-QL strict compliance: enabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Second-level cache: enabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Query cache: disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> createCacheProvider
> > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Optimize cache for minimal puts: disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Structured second-level cache entries: disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Statistics: disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Deleted entity synthetic identifier rollback: disabled
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Default entity-mode: pojo
> > 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Named query checking : enabled
> > 06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryImpl <init>
> > INFO: building session factory
> > 06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryObjectFactory
> > addInstance
> > INFO: Not binding factory to JNDI, no JNDI name configured
> > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > INFO: Running hbm2ddl schema update
> > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > INFO: fetching database metadata
> > 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > INFO: updating schema
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: table found: .APP.APP
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: columns: [id, name]
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: foreign keys: []
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: indexes: [sql120628160338910]
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: table found: .APP.HOST
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: columns: [id, name, ipaddress]
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: foreign keys: []
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: indexes: [sql120622144724970]
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: table found: .APP.HIBERNATE_UNIQUE_KEY
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: columns: [next_hi]
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: foreign keys: []
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> > INFO: indexes: []
> > 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> > INFO: schema update complete
> > 06-Jul-2012 11:14:32
> > org.apache.openejb.assembler.classic.PersistenceBuilder
> > createEntityManagerFactory
> > INFO: PersistenceUnit(name=JerseyRestfulWebServicePU,
> > provider=org.hibernate.ejb.HibernatePersistence) - provider time 1098ms
> > 06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
> > destroyApplication
> > INFO: Undeploying app:
> > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> > 06-Jul-2012 11:14:32 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[/tomee-jee6-module]]
> > in state [STARTING_PREP]
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408)
> > at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:298)
> > at
> >
> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1053)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:839)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:824)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeployWebApps(TomcatWebAppBuilder.java:465)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1186)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:909)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > 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:5172)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > at
> >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > at
> >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > at
> >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > at
> >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > at java.lang.Thread.run(Thread.java:662)
> > 06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
> > destroyResource
> > INFO: Closing DataSource: app/jdbc/jrws
> > 06-Jul-2012 11:14:32 org.hibernate.impl.SessionFactoryImpl close
> > INFO: closing
> > 06-Jul-2012 11:14:32 org.apache.tomee.catalina.TomcatWebAppBuilder
> > startInternal
> > SEVERE: Unable to deploy collapsed ear in war /tomee-jee6-module:
> > Exception: Creating application failed:
> > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module: Error
> > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> > for comp/env/openejb/Resource/app/jdbc/jrws
> > org.apache.openejb.OpenEJBException: Creating application failed:
> > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module: Error
> > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> > for comp/env/openejb/Resource/app/jdbc/jrws
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > 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:5172)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > at
> >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > at
> >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > at
> >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > at
> >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > at java.lang.Thread.run(Thread.java:662)
> > Caused by: org.apache.openejb.OpenEJBException: Error building bean
> > 'localhost/tomee-jee6-module.Comp'. Exception: class
> > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> > for comp/env/openejb/Resource/app/jdbc/jrws
> > at
> >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
> > ... 50 more
> > Caused by: org.apache.openejb.OpenEJBException: Unable to load type
> > 'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
> > at
> >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
> > at
> >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
> > at
> >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
> > at
> >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
> > at
> >
> >
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
> > at
> >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
> > ... 51 more
> > 06-Jul-2012 11:14:32 org.apache.catalina.core.ContainerBase
> > addChildInternal
> > SEVERE: ContainerBase.addChild: start:
> > org.apache.catalina.LifecycleException: Failed to start component
> >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > at
> >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > at
> >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > at
> >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > at
> >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > at java.lang.Thread.run(Thread.java:662)
> > Caused by: org.apache.tomee.catalina.TomEERuntimeException:
> > org.apache.openejb.OpenEJBException: Creating application failed:
> > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module: Error
> > building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> > for comp/env/openejb/Resource/app/jdbc/jrws
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:683)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> > 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:5172)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > ... 42 more
> > Caused by: org.apache.openejb.OpenEJBException: Creating application
> > failed:
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> > Error building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> > for comp/env/openejb/Resource/app/jdbc/jrws
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> > ... 48 more
> > Caused by: org.apache.openejb.OpenEJBException: Error building bean
> > 'localhost/tomee-jee6-module.Comp'. Exception: class
> > org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> > comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> > for comp/env/openejb/Resource/app/jdbc/jrws
> > at
> >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
> > ... 50 more
> > Caused by: org.apache.openejb.OpenEJBException: Unable to load type
> > 'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
> > at
> >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
> > at
> >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
> > at
> >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
> > at
> >
> >
> org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
> > at
> >
> >
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
> > at
> >
> >
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
> > ... 51 more
> > 06-Jul-2012 11:14:32 org.apache.catalina.startup.HostConfig deployWAR
> > SEVERE: Error deploying web application archive
> > C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
> > java.lang.IllegalStateException: ContainerBase.addChild: start:
> > org.apache.catalina.LifecycleException: Failed to start component
> >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:902)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > at
> >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> > at
> >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > at
> >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> > at
> >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > at java.lang.Thread.run(Thread.java:662)
> >
> > Any suggestions on where I have made a mistake?
> >
> >
> >
> > Also Thanks for you help so far Romain!
> >
> > John
> >
> >
> > On 6 July 2012 10:52, Romain Manni-Bucau <rm...@gmail.com> wrote:
> >
> > > hmm, i'm pretty sure resources.xml works (in WEB-INF/classes/META-INF)
> > > since it uses the same code
> > >
> > > - Romain
> > >
> > >
> > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > >
> > > > Sorry, yes defining the resource in the tomee.xml file works for me.
> > > >
> > > > Although I was initially looking at seeing if it was possible to
> > provide
> > > > the database details within a project, like you can in Glassfish
> using
> > > the
> > > > glassfish-resource.xml file.  I've given up and just continued on
> > > > converting our simple Glassfish project into a TomEE project by
> > defining
> > > > the database resource in the tomee.xml file.
> > > >
> > > > John
> > > >
> > > > On 6 July 2012 10:23, Romain Manni-Bucau <rm...@gmail.com>
> > wrote:
> > > >
> > > > > using in tomee.xml:
> > > > >
> > > > > <tomee>
> > > > >   <Resource id="jdbc/blog" type="DataSource">
> > > > >     JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > >     JdbcUrl jdbc:derby://localhost:1527/sample
> > > > >     UserName app
> > > > >     Password app
> > > > >     JtaManaged true
> > > > >   </Resource>
> > > > > </tomee>
> > > > >
> > > > > with in persistence.xml
> <jta-data-source>jdbc/blog</jta-data-source>
> > > > >
> > > > > works for me.
> > > > >
> > > > > any details on your installation?
> > > > >
> > > > > i used the tomee maven plugin to add derby jars to the container
> > > > >
> > > > >
> > > > > - Romain
> > > > >
> > > > >
> > > > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > > > >
> > > > > > Okay, firstly apologies for the last email...
> > > > > >
> > > > > >
> > > > > > I tried calling the xml file resources.xml, and its in the
> META-INF
> > > > > folder,
> > > > > > and it is still not working.
> > > > > >
> > > > > > The Derby Jar is also in the tomee/lib/ directory along with the
> > > > > hibernate
> > > > > > jar as well, but when every I try to deploy the application I
> still
> > > get
> > > > > > connected to the HSQL database.
> > > > > >
> > > > > > John
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 5 July 2012 00:26, Romain Manni-Bucau <rm...@gmail.com>
> > > > wrote:
> > > > > >
> > > > > > > not sure i understood correctly,
> > > > > > >
> > > > > > > typically tomee.xml is in conf/
> > > > > > >
> > > > > > > resources.xml is in META-INF like
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml
> > > > > > >
> > > > > > > the resources.xml uses the webapp classloader where tomee.xml
> > > creates
> > > > > > > resources before any application deployment
> > > > > > >
> > > > > > > - Romain
> > > > > > >
> > > > > > >
> > > > > > > 2012/7/5 John McDonnell <mc...@gmail.com>
> > > > > > >
> > > > > > > > Sorry but I am just home from a night out ....  I have tried
> > > > calling
> > > > > > the
> > > > > > > > xml file openejb.xml tomee.xml and before I posted on this
> > > mailing
> > > > > > list I
> > > > > > > > have also tried calling the config file resources.xml and
> > neither
> > > > of
> > > > > > > those
> > > > > > > > three options worked.
> > > > > > > >
> > > > > > > > Is the contents of each file correct? If so this is either a
> > bug
> > > > or a
> > > > > > > > limitation of ur project and so I should go back to defining
> > the
> > > > > > > > datatsource in the servers tomee.xml file which seems over
> the
> > > top
> > > > > > > >
> > > > > > > > John
> > > > > > > > On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <
> > > > rmannibucau@gmail.com>
> > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > you didnt add derby in tomee.xml?
> > > > > > > > >
> > > > > > > > > if you want to deliver derby in your webapp use
> > > > > > META-INF/resources.xml
> > > > > > > > > instead of tomee.xml.
> > > > > > > > >
> > > > > > > > > Note: using apache maven snapshot repository you can add to
> > > your
> > > > > pom
> > > > > > > > (think
> > > > > > > > > to rename your final to be the context name):
> > > > > > > > >
> > > > > > > > > <plugin>
> > > > > > > > >             <groupId>org.apache.openejb.maven</groupId>
> > > > > > > > >             <artifactId>tomee-maven-plugin</artifactId>
> > > > > > > > >             <version>1.0.0-SNAPSHOT</version>
> > > > > > > > >             <configuration>
> > > > > > > > >               <tomeeClassifier>jaxrs</tomeeClassifier>
> > > > > > > > >               <libs>
> > > > > > > > >                 <lib>dom4j:dom4j:1.6.1</lib>
> > > > > > > > >                 <lib>antlr:antlr:2.7.6</lib>
> > > > > > > > >                 <lib>cglib:cglib:2.1_3</lib>
> > > > > > > > >                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> > > > > > > > >                 <lib>org.hibernate:hibernate:3.2.5.ga
> </lib>
> > > > > > > > >
> > > > > > > <lib>commons-collections:commons-collections:2.1.1</lib>
> > > > > > > > >                 <lib>org.hibernate:hibernate-entitymanager:
> > > > > 3.3.2.GA
> > > > > > > > </lib>
> > > > > > > > >                 <lib>org.hibernate:hibernate-annotations:
> > > > 3.3.1.GA
> > > > > > > </lib>
> > > > > > > > >
> > > <lib>org.hibernate:hibernate-commons-annotations:
> > > > > > > > 3.0.0.ga
> > > > > > > > > </lib>
> > > > > > > > >                 <lib>org.hibernate:ejb3-persistence:
> 1.0.1.GA
> > > > </lib>
> > > > > > > <!--
> > > > > > > > > derby and so on can be added the same way -->
> > > > > > > > >               </libs>
> > > > > > > > >             </configuration>
> > > > > > > > >           </plugin>
> > > > > > > > >
> > > > > > > > > - Romain
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > > >
> > > > > > > > > > Okay,
> > > > > > > > > >
> > > > > > > > > > I have zipped up the maven project which contains the 2
> > > > modules.
> > > > > >  The
> > > > > > > > core
> > > > > > > > > > module is just a simple library which is used by the
> TomEE
> > > > > Restful
> > > > > > > JEE6
> > > > > > > > > > Module.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I have the following Jars in the tomee/lib/ dir:
> > > > > > > > > >
> > > > > > > > > > cglib 2.1_3
> > > > > > > > > > hibernate 3.2.5.GA
> > > > > > > > > > hibernate-annotations 3.3.1.GA
> > > > > > > > > > hibernate-commons-annotations 3.3.1.GA
> > > > > > > > > > dom4j 1.6.1
> > > > > > > > > > asm 1.5.3
> > > > > > > > > > asm-attr 1.5.3
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > and I have editted line 294 of catalina.bat to set the
> > > > > > > > > > javax.persistence.provider property:
> > > > > > > > > > set
> > > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hope this helps!
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > John McDonnell
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <
> > > jeanouii@gmail.com>
> > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > >> Any chance, you could share a simple example to
> reproduce
> > > the
> > > > > > issue?
> > > > > > > > > >> That'd be easier to work on maybe.
> > > > > > > > > >>
> > > > > > > > > >> Jean-Louis
> > > > > > > > > >>
> > > > > > > > > >> 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > > > >>
> > > > > > > > > >> > I renamed the openejb.xml file to tomee.xml (its still
> > in
> > > > the
> > > > > > > > META-INF
> > > > > > > > > >> > folder) and it looks like this now:
> > > > > > > > > >> >
> > > > > > > > > >> > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > >> > <tomee>
> > > > > > > > > >> > <Resource id="derbyDb" type="DataSource">
> > > > > > > > > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > > > > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > > > >> > UserName app
> > > > > > > > > >> > Password app
> > > > > > > > > >> > JtaManaged true
> > > > > > > > > >> > </Resource>
> > > > > > > > > >> > </tomee>
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > No joy again as the application is still using the
> HSQL
> > > > > database
> > > > > > > as
> > > > > > > > > >> opposed
> > > > > > > > > >> > to the Derby one.
> > > > > > > > > >> >
> > > > > > > > > >> > Any other suggestions?
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > John
> > > > > > > > > >> >
> > > > > > > > > >> > On 4 July 2012 15:12, Romain Manni-Bucau <
> > > > > rmannibucau@gmail.com
> > > > > > >
> > > > > > > > wrote:
> > > > > > > > > >> >
> > > > > > > > > >> > > hmm, try tomee.xml instead of openejb.xml
> > > > > > > > > >> > >
> > > > > > > > > >> > > - Romain
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > > > >> > >
> > > > > > > > > >> > > > I have downloaded the the snapshot of 1.1.0 and
> > > deployed
> > > > > the
> > > > > > > > > >> > application,
> > > > > > > > > >> > > > but no luck.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > when deploying the application, the application
> > still
> > > > uses
> > > > > > > HSQL
> > > > > > > > for
> > > > > > > > > >> the
> > > > > > > > > >> > > > database, and not the defined Derby database.  Is
> > > there
> > > > a
> > > > > > > > problem
> > > > > > > > > >> with
> > > > > > > > > >> > my
> > > > > > > > > >> > > > configuration? (context.xml/openejb.xml/web.xml)
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > John
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com
> > > > > > > > >
> > > > > > > > > >> > wrote:
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > > yep that's the same way netbeans deploys
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > - Romain
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > 2012/7/4 John McDonnell <
> mcdonnell.john@gmail.com
> > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > > Hey, thanks for the fast reply...
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I dont use netbeans for deploying, I use to to
> > > build
> > > > > the
> > > > > > > > maven
> > > > > > > > > >> > > project,
> > > > > > > > > >> > > > > and
> > > > > > > > > >> > > > > > then I use the management web app "/manager"
> to
> > > > > deploy.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I'll get the snapshot anyways and try that
> out.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > John
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
> > > > > > > > rmannibucau@gmail.com
> > > > > > > > > >> >
> > > > > > > > > >> > > > wrote:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > > Hi,
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > > > do you use netbeans to deploy?
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > > > maybe try out our snapshot since we fixed
> some
> > > > > issues
> > > > > > > > > >> regarding
> > > > > > > > > >> > the
> > > > > > > > > >> > > > way
> > > > > > > > > >> > > > > > > netbeans deploys.
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > > > Side note: it is tomee.xml not tommee.xml
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > > > - Romain
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > > > 2012/7/4 John McDonnell <
> > > mcdonnell.john@gmail.com
> > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > > > > I recently started looking to convert an
> > JEE6
> > > > > > > > application
> > > > > > > > > >> > working
> > > > > > > > > >> > > > in
> > > > > > > > > >> > > > > > > > Glassfish application server to using
> TomEE+
> > > 1.0
> > > > > > and I
> > > > > > > > am
> > > > > > > > > >> > having
> > > > > > > > > >> > > an
> > > > > > > > > >> > > > > > issue
> > > > > > > > > >> > > > > > > > with setting up the database.
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > If I define the Resource in the tomee.xml
> > file
> > > > in
> > > > > > the
> > > > > > > > > >> > > > tomeeDir/conf/
> > > > > > > > > >> > > > > > > > directory I am able to use the database I
> > > > specify,
> > > > > > > which
> > > > > > > > is
> > > > > > > > > >> a
> > > > > > > > > >> > > Derby
> > > > > > > > > >> > > > > > > > database, but I want to be able to define
> > the
> > > > > > database
> > > > > > > > to be
> > > > > > > > > >> > > > project
> > > > > > > > > >> > > > > > > > specific, like I was able to do in
> > Glassfish.
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > What happens at the moment when I deploy
> the
> > > > > > > application
> > > > > > > > I
> > > > > > > > > >> > notice
> > > > > > > > > >> > > > in
> > > > > > > > > >> > > > > > the
> > > > > > > > > >> > > > > > > > logs that TomEE adjusts the PU defined to
> > use
> > > > the
> > > > > > > > Default
> > > > > > > > > >> JDBC
> > > > > > > > > >> > > > > > Database,
> > > > > > > > > >> > > > > > > > which was created, as I have removed the
> > > > > > definitition
> > > > > > > of
> > > > > > > > it
> > > > > > > > > >> > from
> > > > > > > > > >> > > > the
> > > > > > > > > >> > > > > > > > tomee.xml file.
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > Here is the logs when deploying my
> project:
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > TomcatWebAppBuilder.start
> /tomee-jee6-module
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > > org.apache.catalina.startup.HostConfig
> > > > > > > > > >> > > > deployWAR
> > > > > > > > > >> > > > > > > > INFO: Deploying web application archive
> > > > > > > > > >> > > > > > > >
> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > > > >> org.apache.openejb.config.DeploymentLoader
> > > > > > > > > >> > > > > > > > addFacesConfigs
> > > > > > > > > >> > > > > > > > INFO: faces config file is null
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > org.apache.openejb.config.ConfigurationFactory
> > > > > > > > > >> > > > > > > > configureApplication
> > > > > > > > > >> > > > > > > > INFO: Configuring enterprise application:
> > > > > > > > > >> > > > > > > >
> > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > > > >> > > > > > deploy
> > > > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > > > > > localhost/tomee-jee6-module.Comp:
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >>
> > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > > > >> > > > > > deploy
> > > > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > TestManagementService:
> > > > > > > > > >> > > > > > > >
> > > > EjbDeployment(deployment-id=TestManagementService)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > >> > deploy
> > > > > > > > > >> > > > > > > > INFO: *Configuring
> > > > > > > > > >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > > >> > > > > > > >
> > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > >> > > > > > > setJtaDataSource
> > > > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > > > JerseyRestfulWebServicePU
> > > > > > > > > >> > > > > > > <jta-data-source>
> > > > > > > > > >> > > > > > > > to Resource ID 'Default JDBC Database'
> from
> > > > > > 'derbyDb'
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > > >> > > > > > > > setNonJtaDataSource
> > > > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > > > JerseyRestfulWebServicePU
> > > > > > > > > >> > > > > > > > <non-jta-data-source> to Resource ID
> > 'Default
> > > > JDBC
> > > > > > > > > >> > > DatabaseNonJta'
> > > > > > > > > >> > > > > from
> > > > > > > > > >> > > > > > > > 'null'*
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> org.apache.openejb.config.AppInfoBuilder
> > > > > > > > > >> > > build
> > > > > > > > > >> > > > > > > > INFO: Enterprise application
> > > > > > > > > >> > > > > > > >
> > > > > > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > > > > > > > >> > > loaded.
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > >> > > > > > > > INFO: Assembling app:
> > > > > > > > > >> > > > > > > >
> > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.ejb.Ejb3Configuration
> > > > > > > > > >> > > configure
> > > > > > > > > >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > > > > > > > > >> > > > > > > > name: JerseyRestfulWebServicePU
> > > > > > > > > >> > > > > > > > ...]
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.hibernate.cfg.AnnotationBinder
> > > > > > > > > >> > bindClass
> > > > > > > > > >> > > > > > > > INFO: Binding entity from annotated class:
> > > > > > > > > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> org.hibernate.cfg.annotations.EntityBinder
> > > > > > > > > >> > > > > > bindTable
> > > > > > > > > >> > > > > > > > INFO: Bind entity
> > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > on
> > > > > > > > > >> table
> > > > > > > > > >> > > Host
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> org.hibernate.cfg.AnnotationConfiguration
> > > > > > > > > >> > > > > > > > secondPassCompile
> > > > > > > > > >> > > > > > > > INFO: Hibernate Validator not found:
> > ignoring
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > > >
> org.hibernate.connection.ConnectionProviderFactory
> > > > > > > > > >> > > > > > > > newConnectionProvider
> > > > > > > > > >> > > > > > > > INFO: Initializing connection provider:
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> >
> > > > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> >
> > > > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > > >> > > > > > > configure
> > > > > > > > > >> > > > > > > > INFO: Using provided datasource
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine,
> version:
> > > > > 2.2.4*
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: JDBC driver: HSQL Database Engine
> > > Driver,
> > > > > > > version:
> > > > > > > > > >> 2.2.4
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Automatic flush during
> > > beforeCompletion():
> > > > > > > > disabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Automatic session close at end of
> > > > > transaction:
> > > > > > > > > >> disabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Scrollable result sets: enabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Connection release mode: auto
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Default batch fetch size: 1
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Generate SQL with comments: disabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Order SQL updates by primary key:
> > > disabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Order SQL inserts for batching:
> > disabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > > > > > createQueryTranslatorFactory
> > > > > > > > > >> > > > > > > > INFO: Query translator:
> > > > > > > > > >> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Query language substitutions: {}
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: JPA-QL strict compliance: enabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Second-level cache: enabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Query cache: disabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > > > > createCacheProvider
> > > > > > > > > >> > > > > > > > INFO: Cache provider:
> > > > > > > > org.hibernate.cache.NoCacheProvider
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Optimize cache for minimal puts:
> > > disabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Structured second-level cache
> entries:
> > > > > > disabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Statistics: disabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Deleted entity synthetic identifier
> > > > > rollback:
> > > > > > > > disabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Default entity-mode: pojo
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > > >> > > > buildSettings
> > > > > > > > > >> > > > > > > > INFO: Named query checking : enabled
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > > > > > >
> > > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > > > > > >> > > > > > > > createEntityManagerFactory
> > > > > > > > > >> > > > > > > > INFO:
> > > > > > *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > > >> > > > > > > >
> > > > provider=org.hibernate.ejb.HibernatePersistence) -
> > > > > > > > provider
> > > > > > > > > >> > time
> > > > > > > > > >> > > > > 401ms*
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > >> > > > > > > bind
> > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > > > > > > > > >> -->
> > > > > > > > > >> > > > > > > >
> > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > >> > > > > > > bind
> > > > > > > > > >> > > > > > > > INFO:
> > > Jndi(name=TestManagementServiceLocalBean)
> > > > > -->
> > > > > > > > > >> > > > > > > > Ejb(deployment-id=TestManagementService)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > >> > > > > > > bind
> > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > > > > > >> > > > > > > > -->
> Ejb(deployment-id=TestManagementService)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > > >> > > > > > > bind
> > > > > > > > > >> > > > > > > > INFO:
> > > > > > > > > >> > > > > >
> > > > > > > > > >>
> > > > > >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > > > > > >> > > > > > > > -->
> Ejb(deployment-id=TestManagementService)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.apache.openejb.cdi.CdiBuilder
> > > > > > > > build
> > > > > > > > > >> > > > > > > > INFO: existing thread singleton service in
> > > > > > > > SystemInstance()
> > > > > > > > > >> > > > > > > >
> > > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > > >> > > > > > > > startApplication
> > > > > > > > > >> > > > > > > > INFO: OpenWebBeans Container is
> starting...
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > > > >> > > > startUp
> > > > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > [CdiPlugin]
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > > > >> > > > startUp
> > > > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > > > > > > [OpenWebBeansJsfPlugin]
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.apache.openejb.cdi.BeansDeployer
> > > > > > > > > >> > > > > > > > validateInjectionPoints
> > > > > > > > > >> > > > > > > > INFO: All injection points were validated
> > > > > > > successfully.
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > > >> > > > > > > > startApplication
> > > > > > > > > >> > > > > > > > INFO: OpenWebBeans Container has started,
> it
> > > > took
> > > > > > [15]
> > > > > > > > ms.
> > > > > > > > > >> > > > > > > > using context file
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > >> > > > > > > > INFO: Created
> > > > > > Ejb(deployment-id=TestManagementService,
> > > > > > > > > >> > > > > > > > ejb-name=TestManagementService,
> container=My
> > > > > > Singleton
> > > > > > > > > >> > Container)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > >> > > > > > > > INFO: Started
> > > > > > Ejb(deployment-id=TestManagementService,
> > > > > > > > > >> > > > > > > > ejb-name=TestManagementService,
> container=My
> > > > > > Singleton
> > > > > > > > > >> > Container)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > > >> > > > > > > > createApplication
> > > > > > > > > >> > > > > > > > INFO: Deployed
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: Name
> > > > [openejb]
> > > > > > is
> > > > > > > > not
> > > > > > > > > >> bound
> > > > > > > > > >> > > in
> > > > > > > > > >> > > > > this
> > > > > > > > > >> > > > > > > > Context. Unable to find [openejb].
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> >
> > > > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> >
> > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > >
> > > > > > > > > >>
> > > > > >
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >>
> > > > > > > >
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> >
> > > > > > > >
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> >
> > > > > > > >
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > >
> > > > > > > >
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > >
> > > > > > > >
> > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > >> > > > > > > > at
> > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > >> Method)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > >> > > > > > > > at
> > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > >
> > > > > > > >
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >>
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >>
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > >
> > > > > > > > > >>
> > > > > >
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > >> > > > > > > > INFO: TransactionManager already bound,
> > > ignoring
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > >> > > > > > > > INFO: TransactionSynchronizationRegistry
> > > already
> > > > > > > bound,
> > > > > > > > > >> > ignoring
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No ORB
> > > > > > registered
> > > > > > > > with
> > > > > > > > > >> the
> > > > > > > > > >> > > > > OpenEJB
> > > > > > > > > >> > > > > > > > system
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > >
> > > > > > > > > >>
> > > > > > > >
> > > > > >
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> >
> > > > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> >
> > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > >
> > > > > > > > > >>
> > > > > >
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >>
> > > > > > > >
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> >
> > > > > > > >
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> >
> > > > > > > >
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > >
> > > > > > > >
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > >
> > > > > > > >
> > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > >> > > > > > > > at
> > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > >> Method)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > >> > > > > > > > at
> > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > >
> > > > > > > >
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >>
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >>
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > >
> > > > > > > > > >>
> > > > > >
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > > >> > > > > > > safeBind
> > > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No
> > > > > > HandleDelegate
> > > > > > > > > >> > registered
> > > > > > > > > >> > > > with
> > > > > > > > > >> > > > > > the
> > > > > > > > > >> > > > > > > > OpenEJB system
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > >
> > > > > > > > > >>
> > > > > > > >
> > > > > >
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> >
> > > > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> >
> > > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > >
> > > > > > > > > >>
> > > > > >
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >>
> > > > > > > >
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> >
> > > > > > > >
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> >
> > > > > > > >
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > >
> > > > > > > >
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > >
> > > > > > > >
> > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > > >> > > > > > > > at
> > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > >> Method)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > >> > > > > > > > at
> > > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > >
> > > > > > > >
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >>
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >>
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > >
> > > > > > > > > >>
> > > > > >
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > > >> > > > > > > > at
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > org.apache.cxf.endpoint.ServerImpl
> > > > > > > > > >> > > > > initDestination
> > > > > > > > > >> > > > > > > > INFO: Setting the server's publish address
> > to
> > > be
> > > > > > > > > >> > > > > > > >
> > > http://localhost:8080/tomee-jee6-module/webapi
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > > > >> > > > > > deployEJB
> > > > > > > > > >> > > > > > > > INFO: REST Service:
> > > > > > > > > >> > > > > > > >
> > > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> > > > > > > > EJB
> > > > > > > > > >> > > > > > > > TestManagementService
> > > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > > > >> > > > > > > > afterApplicationCreated
> > > > > > > > > >> > > > > > > > INFO: REST application deployed:
> > > > > > > > > >> > > > > > > >
> > > com.shenick.diversifeye.config.ApplicationConfig
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > Here is my persistence Unit:
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > <persistence version="2.0" xmlns="
> > > > > > > > > >> > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > > > >> > > > > > > "
> > > > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > > > > > >> > > > > > > xsi:schemaLocation="
> > > > > > > > > >> > > > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > > > >> > > > > > > >
> > > > > > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > > > > > > > > >> ">
> > > > > > > > > >> > > > > > > > <persistence-unit
> > > > name="JerseyRestfulWebServicePU"
> > > > > > > > > >> > > > > > > transaction-type="JTA">
> > > > > > > > > >> > > > > > > >
> > > > > > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > > > > > >> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
> > > > > > > > > >> > > > > > > >
> > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > > > > > >> > > > > > > >
> > > > > > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > > > > > >> > > > > > > > <properties>
> > > > > > > > > >> > > > > > > > <property name="hibernate.dialect"
> > > > > > > > > >> > > > > > > >
> value="org.hibernate.dialect.DerbyDialect"/>
> > > > > > > > > >> > > > > > > > <property name="hibernate.hbm2ddl.auto"
> > > > > > > value="update"/>
> > > > > > > > > >> > > > > > > > </properties>
> > > > > > > > > >> > > > > > > > </persistence-unit>
> > > > > > > > > >> > > > > > > > </persistence>
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > I have a context.xml and openejb.xml
> > specified
> > > > in
> > > > > > the
> > > > > > > > > >> META-INF
> > > > > > > > > >> > > > folder
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > openejb.xml:
> > > > > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > >> > > > > > > > <openejb>
> > > > > > > > > >> > > > > > > > <Resource id="derbyDb" type="DataSource">
> > > > > > > > > >> > > > > > > > JdbcDriver
> > org.apache.derby.jdbc.ClientDriver
> > > > > > > > > >> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > > > >> > > > > > > > UserName app
> > > > > > > > > >> > > > > > > > Password app
> > > > > > > > > >> > > > > > > > JtaManaged true
> > > > > > > > > >> > > > > > > > </Resource>
> > > > > > > > > >> > > > > > > > </openejb>
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > and context.xml:
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > >> > > > > > > > <Context antiJARLocking="true"
> > > > > > > > path="/tomee-jee6-module"/>
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > I also have the resource referenced in the
> > > > web.xml
> > > > > > > file:
> > > > > > > > > >> > > > > > > > <web-app version="3.0" xmlns="
> > > > > > > > > >> > http://java.sun.com/xml/ns/javaee"
> > > > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > > > > >> > > > > > > > http://www.w3.org/2001/XMLSchema-instance
> "
> > > > > > > > > >> > xsi:schemaLocation="
> > > > > > > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > > > > > > > >> > > > > > > >
> > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
> > > > > ">
> > > > > > > > > >> > > > > > > > <session-config>
> > > > > > > > > >> > > > > > > > <session-timeout>
> > > > > > > > > >> > > > > > > > 30
> > > > > > > > > >> > > > > > > > </session-timeout>
> > > > > > > > > >> > > > > > > >   </session-config>
> > > > > > > > > >> > > > > > > > <resource-ref>
> > > > > > > > > >> > > > > > > > <description>
> > > > > > > > > >> > > > > > > > Object factory for MyBean instances.
> > > > > > > > > >> > > > > > > > </description>
> > > > > > > > > >> > > > > > > > <res-ref-name>
> > > > > > > > > >> > > > > > > > derbyDb
> > > > > > > > > >> > > > > > > > </res-ref-name>
> > > > > > > > > >> > > > > > > > <res-type>
> > > > > > > > > >> > > > > > > > javax.sql.DataSource
> > > > > > > > > >> > > > > > > > </res-type>
> > > > > > > > > >> > > > > > > > <res-auth>
> > > > > > > > > >> > > > > > > > Container
> > > > > > > > > >> > > > > > > > </res-auth>
> > > > > > > > > >> > > > > > > >   </resource-ref>
> > > > > > > > > >> > > > > > > > </web-app>
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > What am I doing wrong, or is it not
> possible
> > > to
> > > > > > > define a
> > > > > > > > > >> > > datasource
> > > > > > > > > >> > > > > at
> > > > > > > > > >> > > > > > a
> > > > > > > > > >> > > > > > > > project level, and it should only be
> > > referenced
> > > > in
> > > > > > the
> > > > > > > > > >> > tommee.xml
> > > > > > > > > >> > > > > file?
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > Thanks in advance
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > > > John McDonnell
> > > > > > > > > >> > > > > > > >
> > > > > > > > > >> > > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > --
> > > > > > > > > >> > > > > > John
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > --
> > > > > > > > > >> > > > John
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > --
> > > > > > > > > >> > John
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > John
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > John
> > > >
> > >
> >
> >
> >
> > --
> > John
> >
>



-- 
John

Re: Project specific database

Posted by Romain Manni-Bucau <rm...@gmail.com>.
can you replace type="DataSource" by type="javax.sql.DataSource" please

- Romain


2012/7/6 John McDonnell <mc...@gmail.com>

> *Slams head on desk*
>
> resources.xml is placed in WEB-INF/classes/META-INF???
>
> Damn it I tried both WEB-INF and in META-INF but neither of them worked.
>
> I have justed tried placing the the folder you specified and attempted to
> deploy the application I got the following in my logs:
>
>
>
> 06-Jul-2012 11:14:30 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
> 06-Jul-2012 11:14:30 org.apache.tomee.catalina.TomcatWebAppBuilder
> startInternal
> INFO: -------------------------
> TomcatWebAppBuilder.start /tomee-jee6-module
> 06-Jul-2012 11:14:30 org.apache.openejb.config.DeploymentLoader
> addFacesConfigs
> INFO: faces config file is null
> 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> 06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> 06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb TestManagementService:
> EjbDeployment(deployment-id=TestManagementService)
> 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=app/jdbc/jrws, type=Resource,
> provider-id=Default JDBC Database)
> 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=app/jdbc/jrws)
> 06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Default Managed Container, type=Container,
> provider-id=Default Managed Container)
> 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig createContainer
> INFO: Auto-creating a container for bean localhost/tomee-jee6-module.Comp:
> Container(type=MANAGED, id=Default Managed Container)
> 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=Default Managed Container)
> 06-Jul-2012 11:14:30 org.apache.openejb.core.managed.SimplePassivater init
> INFO: Using directory C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\temp for
> stateful session passivation
> 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> processResourceRef
> INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
> localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
> 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> processResourceRef
> INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in bean
> localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
> 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> processResourceRef
> INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
> TestManagementService to Resource(id=app/jdbc/jrws)
> 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> processResourceRef
> INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in bean
> TestManagementService to Resource(id=app/jdbc/jrws)
> 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
> INFO: Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
> provider=org.hibernate.ejb.HibernatePersistence)
> 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> logAutoCreateResource
> INFO: Auto-creating a Resource with id 'app/jdbc/jrwsNonJta' of type
> 'DataSource for 'JerseyRestfulWebServicePU'.
> 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
> INFO: Configuring Service(id=app/jdbc/jrwsNonJta, type=Resource,
> provider-id=app/jdbc/jrws)
> 06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=app/jdbc/jrwsNonJta)
> 06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
> setNonJtaDataSource
> INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> <non-jta-data-source> to Resource ID 'app/jdbc/jrwsNonJta' from 'null'
> 06-Jul-2012 11:14:30 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
> "C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module" loaded.
> 06-Jul-2012 11:14:31 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app:
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.Version <clinit>
> INFO: Hibernate Annotations 3.3.1.GA
> 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> INFO: Hibernate 3.2.5
> 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> INFO: hibernate.properties not found
> 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment buildBytecodeProvider
> INFO: Bytecode provider name : cglib
> 06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
> INFO: using JDK 1.4 java.sql.Timestamp handling
> 06-Jul-2012 11:14:31 org.hibernate.ejb.Version <clinit>
> INFO: Hibernate EntityManager 3.3.2.GA
> 06-Jul-2012 11:14:31 org.hibernate.ejb.Ejb3Configuration configure
> INFO: Processing PersistenceUnitInfo [
> name: JerseyRestfulWebServicePU
> ...]
> 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
> INFO: Binding entity from annotated class:
> com.shenick.diversifeye.domain.Host
> 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder bindTable
> INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
> 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
> INFO: Binding entity from annotated class:
> com.shenick.diversifeye.domain.App
> 06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder bindTable
> INFO: Bind entity com.shenick.diversifeye.domain.App on table App
> 06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationConfiguration
> secondPassCompile
> INFO: Hibernate Validator not found: ignoring
> 06-Jul-2012 11:14:31 org.hibernate.connection.ConnectionProviderFactory
> newConnectionProvider
> INFO: Initializing connection provider:
> org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 06-Jul-2012 11:14:31
> org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider configure
> INFO: Using provided datasource
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: RDBMS: Apache Derby, version: 10.8.1.2 - (1095077)
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: JDBC driver: Apache Derby Network Client JDBC Driver, version:
> 10.8.2.2 - (1181258)
> 06-Jul-2012 11:14:31 org.hibernate.dialect.Dialect <init>
> INFO: Using dialect: org.hibernate.dialect.DerbyDialect
> 06-Jul-2012 11:14:31 org.hibernate.transaction.TransactionFactoryFactory
> buildTransactionFactory
> INFO: Transaction strategy:
> org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
> 06-Jul-2012 11:14:31
> org.hibernate.transaction.TransactionManagerLookupFactory
> getTransactionManagerLookup
> INFO: instantiating TransactionManagerLookup:
> org.apache.openejb.hibernate.TransactionManagerLookup
> 06-Jul-2012 11:14:31
> org.hibernate.transaction.TransactionManagerLookupFactory
> getTransactionManagerLookup
> INFO: instantiated TransactionManagerLookup
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Automatic flush during beforeCompletion(): disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Automatic session close at end of transaction: disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Scrollable result sets: enabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: JDBC3 getGeneratedKeys(): disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Connection release mode: auto
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Default batch fetch size: 1
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Generate SQL with comments: disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Order SQL updates by primary key: disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Order SQL inserts for batching: disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
> createQueryTranslatorFactory
> INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
> 06-Jul-2012 11:14:31 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
> INFO: Using ASTQueryTranslatorFactory
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Query language substitutions: {}
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: JPA-QL strict compliance: enabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Second-level cache: enabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Query cache: disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory createCacheProvider
> INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Optimize cache for minimal puts: disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Structured second-level cache entries: disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Statistics: disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Deleted entity synthetic identifier rollback: disabled
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Default entity-mode: pojo
> 06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Named query checking : enabled
> 06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryImpl <init>
> INFO: building session factory
> 06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryObjectFactory
> addInstance
> INFO: Not binding factory to JNDI, no JNDI name configured
> 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> INFO: Running hbm2ddl schema update
> 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> INFO: fetching database metadata
> 06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> INFO: updating schema
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: table found: .APP.APP
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: columns: [id, name]
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: foreign keys: []
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: indexes: [sql120628160338910]
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: table found: .APP.HOST
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: columns: [id, name, ipaddress]
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: foreign keys: []
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: indexes: [sql120622144724970]
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: table found: .APP.HIBERNATE_UNIQUE_KEY
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: columns: [next_hi]
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: foreign keys: []
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
> INFO: indexes: []
> 06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
> INFO: schema update complete
> 06-Jul-2012 11:14:32
> org.apache.openejb.assembler.classic.PersistenceBuilder
> createEntityManagerFactory
> INFO: PersistenceUnit(name=JerseyRestfulWebServicePU,
> provider=org.hibernate.ejb.HibernatePersistence) - provider time 1098ms
> 06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
> destroyApplication
> INFO: Undeploying app:
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
> 06-Jul-2012 11:14:32 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[/tomee-jee6-module]]
> in state [STARTING_PREP]
> at
>
> org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408)
> at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:298)
> at
> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1053)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:839)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:824)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeployWebApps(TomcatWebAppBuilder.java:465)
> at
>
> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1186)
> at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:909)
> at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> 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:5172)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> at
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> at
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> at
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> at
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> at
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> 06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
> destroyResource
> INFO: Closing DataSource: app/jdbc/jrws
> 06-Jul-2012 11:14:32 org.hibernate.impl.SessionFactoryImpl close
> INFO: closing
> 06-Jul-2012 11:14:32 org.apache.tomee.catalina.TomcatWebAppBuilder
> startInternal
> SEVERE: Unable to deploy collapsed ear in war /tomee-jee6-module:
> Exception: Creating application failed:
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module: Error
> building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> for comp/env/openejb/Resource/app/jdbc/jrws
> org.apache.openejb.OpenEJBException: Creating application failed:
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module: Error
> building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> for comp/env/openejb/Resource/app/jdbc/jrws
> at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
> at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> 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:5172)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> at
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> at
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> at
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> at
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> at
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.openejb.OpenEJBException: Error building bean
> 'localhost/tomee-jee6-module.Comp'. Exception: class
> org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> for comp/env/openejb/Resource/app/jdbc/jrws
> at
>
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
> at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
> ... 50 more
> Caused by: org.apache.openejb.OpenEJBException: Unable to load type
> 'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
> at
>
> org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
> at
>
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
> at
>
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
> at
>
> org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
> at
>
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
> at
>
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
> ... 51 more
> 06-Jul-2012 11:14:32 org.apache.catalina.core.ContainerBase
> addChildInternal
> SEVERE: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
>
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> at
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> at
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> at
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> at
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> at
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.tomee.catalina.TomEERuntimeException:
> org.apache.openejb.OpenEJBException: Creating application failed:
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module: Error
> building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> for comp/env/openejb/Resource/app/jdbc/jrws
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:683)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
> at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
> 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:5172)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> ... 42 more
> Caused by: org.apache.openejb.OpenEJBException: Creating application
> failed: C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
> Error building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
> org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> for comp/env/openejb/Resource/app/jdbc/jrws
> at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
> at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
> ... 48 more
> Caused by: org.apache.openejb.OpenEJBException: Error building bean
> 'localhost/tomee-jee6-module.Comp'. Exception: class
> org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
> comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
> for comp/env/openejb/Resource/app/jdbc/jrws
> at
>
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
> at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
> ... 50 more
> Caused by: org.apache.openejb.OpenEJBException: Unable to load type
> 'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
> at
>
> org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
> at
>
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
> at
>
> org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
> at
>
> org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
> at
>
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
> at
>
> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
> ... 51 more
> 06-Jul-2012 11:14:32 org.apache.catalina.startup.HostConfig deployWAR
> SEVERE: Error deploying web application archive
> C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
> java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
>
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
> at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:902)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> at
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> at
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> at
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> at
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> at
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
>
> Any suggestions on where I have made a mistake?
>
>
>
> Also Thanks for you help so far Romain!
>
> John
>
>
> On 6 July 2012 10:52, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> > hmm, i'm pretty sure resources.xml works (in WEB-INF/classes/META-INF)
> > since it uses the same code
> >
> > - Romain
> >
> >
> > 2012/7/6 John McDonnell <mc...@gmail.com>
> >
> > > Sorry, yes defining the resource in the tomee.xml file works for me.
> > >
> > > Although I was initially looking at seeing if it was possible to
> provide
> > > the database details within a project, like you can in Glassfish using
> > the
> > > glassfish-resource.xml file.  I've given up and just continued on
> > > converting our simple Glassfish project into a TomEE project by
> defining
> > > the database resource in the tomee.xml file.
> > >
> > > John
> > >
> > > On 6 July 2012 10:23, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
> > >
> > > > using in tomee.xml:
> > > >
> > > > <tomee>
> > > >   <Resource id="jdbc/blog" type="DataSource">
> > > >     JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > >     JdbcUrl jdbc:derby://localhost:1527/sample
> > > >     UserName app
> > > >     Password app
> > > >     JtaManaged true
> > > >   </Resource>
> > > > </tomee>
> > > >
> > > > with in persistence.xml <jta-data-source>jdbc/blog</jta-data-source>
> > > >
> > > > works for me.
> > > >
> > > > any details on your installation?
> > > >
> > > > i used the tomee maven plugin to add derby jars to the container
> > > >
> > > >
> > > > - Romain
> > > >
> > > >
> > > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > > >
> > > > > Okay, firstly apologies for the last email...
> > > > >
> > > > >
> > > > > I tried calling the xml file resources.xml, and its in the META-INF
> > > > folder,
> > > > > and it is still not working.
> > > > >
> > > > > The Derby Jar is also in the tomee/lib/ directory along with the
> > > > hibernate
> > > > > jar as well, but when every I try to deploy the application I still
> > get
> > > > > connected to the HSQL database.
> > > > >
> > > > > John
> > > > >
> > > > >
> > > > >
> > > > > On 5 July 2012 00:26, Romain Manni-Bucau <rm...@gmail.com>
> > > wrote:
> > > > >
> > > > > > not sure i understood correctly,
> > > > > >
> > > > > > typically tomee.xml is in conf/
> > > > > >
> > > > > > resources.xml is in META-INF like
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml
> > > > > >
> > > > > > the resources.xml uses the webapp classloader where tomee.xml
> > creates
> > > > > > resources before any application deployment
> > > > > >
> > > > > > - Romain
> > > > > >
> > > > > >
> > > > > > 2012/7/5 John McDonnell <mc...@gmail.com>
> > > > > >
> > > > > > > Sorry but I am just home from a night out ....  I have tried
> > > calling
> > > > > the
> > > > > > > xml file openejb.xml tomee.xml and before I posted on this
> > mailing
> > > > > list I
> > > > > > > have also tried calling the config file resources.xml and
> neither
> > > of
> > > > > > those
> > > > > > > three options worked.
> > > > > > >
> > > > > > > Is the contents of each file correct? If so this is either a
> bug
> > > or a
> > > > > > > limitation of ur project and so I should go back to defining
> the
> > > > > > > datatsource in the servers tomee.xml file which seems over the
> > top
> > > > > > >
> > > > > > > John
> > > > > > > On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <
> > > rmannibucau@gmail.com>
> > > > > > > wrote:
> > > > > > > >
> > > > > > > > you didnt add derby in tomee.xml?
> > > > > > > >
> > > > > > > > if you want to deliver derby in your webapp use
> > > > > META-INF/resources.xml
> > > > > > > > instead of tomee.xml.
> > > > > > > >
> > > > > > > > Note: using apache maven snapshot repository you can add to
> > your
> > > > pom
> > > > > > > (think
> > > > > > > > to rename your final to be the context name):
> > > > > > > >
> > > > > > > > <plugin>
> > > > > > > >             <groupId>org.apache.openejb.maven</groupId>
> > > > > > > >             <artifactId>tomee-maven-plugin</artifactId>
> > > > > > > >             <version>1.0.0-SNAPSHOT</version>
> > > > > > > >             <configuration>
> > > > > > > >               <tomeeClassifier>jaxrs</tomeeClassifier>
> > > > > > > >               <libs>
> > > > > > > >                 <lib>dom4j:dom4j:1.6.1</lib>
> > > > > > > >                 <lib>antlr:antlr:2.7.6</lib>
> > > > > > > >                 <lib>cglib:cglib:2.1_3</lib>
> > > > > > > >                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> > > > > > > >                 <lib>org.hibernate:hibernate:3.2.5.ga</lib>
> > > > > > > >
> > > > > > <lib>commons-collections:commons-collections:2.1.1</lib>
> > > > > > > >                 <lib>org.hibernate:hibernate-entitymanager:
> > > > 3.3.2.GA
> > > > > > > </lib>
> > > > > > > >                 <lib>org.hibernate:hibernate-annotations:
> > > 3.3.1.GA
> > > > > > </lib>
> > > > > > > >
> > <lib>org.hibernate:hibernate-commons-annotations:
> > > > > > > 3.0.0.ga
> > > > > > > > </lib>
> > > > > > > >                 <lib>org.hibernate:ejb3-persistence:1.0.1.GA
> > > </lib>
> > > > > > <!--
> > > > > > > > derby and so on can be added the same way -->
> > > > > > > >               </libs>
> > > > > > > >             </configuration>
> > > > > > > >           </plugin>
> > > > > > > >
> > > > > > > > - Romain
> > > > > > > >
> > > > > > > >
> > > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > >
> > > > > > > > > Okay,
> > > > > > > > >
> > > > > > > > > I have zipped up the maven project which contains the 2
> > > modules.
> > > > >  The
> > > > > > > core
> > > > > > > > > module is just a simple library which is used by the TomEE
> > > > Restful
> > > > > > JEE6
> > > > > > > > > Module.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I have the following Jars in the tomee/lib/ dir:
> > > > > > > > >
> > > > > > > > > cglib 2.1_3
> > > > > > > > > hibernate 3.2.5.GA
> > > > > > > > > hibernate-annotations 3.3.1.GA
> > > > > > > > > hibernate-commons-annotations 3.3.1.GA
> > > > > > > > > dom4j 1.6.1
> > > > > > > > > asm 1.5.3
> > > > > > > > > asm-attr 1.5.3
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > and I have editted line 294 of catalina.bat to set the
> > > > > > > > > javax.persistence.provider property:
> > > > > > > > > set
> > > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hope this helps!
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > John McDonnell
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <
> > jeanouii@gmail.com>
> > > > > > wrote:
> > > > > > > > >
> > > > > > > > >> Any chance, you could share a simple example to reproduce
> > the
> > > > > issue?
> > > > > > > > >> That'd be easier to work on maybe.
> > > > > > > > >>
> > > > > > > > >> Jean-Louis
> > > > > > > > >>
> > > > > > > > >> 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > > >>
> > > > > > > > >> > I renamed the openejb.xml file to tomee.xml (its still
> in
> > > the
> > > > > > > META-INF
> > > > > > > > >> > folder) and it looks like this now:
> > > > > > > > >> >
> > > > > > > > >> > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > >> > <tomee>
> > > > > > > > >> > <Resource id="derbyDb" type="DataSource">
> > > > > > > > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > > > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > > >> > UserName app
> > > > > > > > >> > Password app
> > > > > > > > >> > JtaManaged true
> > > > > > > > >> > </Resource>
> > > > > > > > >> > </tomee>
> > > > > > > > >> >
> > > > > > > > >> >
> > > > > > > > >> > No joy again as the application is still using the HSQL
> > > > database
> > > > > > as
> > > > > > > > >> opposed
> > > > > > > > >> > to the Derby one.
> > > > > > > > >> >
> > > > > > > > >> > Any other suggestions?
> > > > > > > > >> >
> > > > > > > > >> >
> > > > > > > > >> > John
> > > > > > > > >> >
> > > > > > > > >> > On 4 July 2012 15:12, Romain Manni-Bucau <
> > > > rmannibucau@gmail.com
> > > > > >
> > > > > > > wrote:
> > > > > > > > >> >
> > > > > > > > >> > > hmm, try tomee.xml instead of openejb.xml
> > > > > > > > >> > >
> > > > > > > > >> > > - Romain
> > > > > > > > >> > >
> > > > > > > > >> > >
> > > > > > > > >> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > > >> > >
> > > > > > > > >> > > > I have downloaded the the snapshot of 1.1.0 and
> > deployed
> > > > the
> > > > > > > > >> > application,
> > > > > > > > >> > > > but no luck.
> > > > > > > > >> > > >
> > > > > > > > >> > > > when deploying the application, the application
> still
> > > uses
> > > > > > HSQL
> > > > > > > for
> > > > > > > > >> the
> > > > > > > > >> > > > database, and not the defined Derby database.  Is
> > there
> > > a
> > > > > > > problem
> > > > > > > > >> with
> > > > > > > > >> > my
> > > > > > > > >> > > > configuration? (context.xml/openejb.xml/web.xml)
> > > > > > > > >> > > >
> > > > > > > > >> > > > John
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > > >
> > > > > > > > >> > wrote:
> > > > > > > > >> > > >
> > > > > > > > >> > > > > yep that's the same way netbeans deploys
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > - Romain
> > > > > > > > >> > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > 2012/7/4 John McDonnell <mcdonnell.john@gmail.com
> >
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > > Hey, thanks for the fast reply...
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > I dont use netbeans for deploying, I use to to
> > build
> > > > the
> > > > > > > maven
> > > > > > > > >> > > project,
> > > > > > > > >> > > > > and
> > > > > > > > >> > > > > > then I use the management web app "/manager" to
> > > > deploy.
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > I'll get the snapshot anyways and try that out.
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > John
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com
> > > > > > > > >> >
> > > > > > > > >> > > > wrote:
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > > Hi,
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > > > do you use netbeans to deploy?
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > > > maybe try out our snapshot since we fixed some
> > > > issues
> > > > > > > > >> regarding
> > > > > > > > >> > the
> > > > > > > > >> > > > way
> > > > > > > > >> > > > > > > netbeans deploys.
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > > > Side note: it is tomee.xml not tommee.xml
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > > > - Romain
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > > > 2012/7/4 John McDonnell <
> > mcdonnell.john@gmail.com
> > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > > > > I recently started looking to convert an
> JEE6
> > > > > > > application
> > > > > > > > >> > working
> > > > > > > > >> > > > in
> > > > > > > > >> > > > > > > > Glassfish application server to using TomEE+
> > 1.0
> > > > > and I
> > > > > > > am
> > > > > > > > >> > having
> > > > > > > > >> > > an
> > > > > > > > >> > > > > > issue
> > > > > > > > >> > > > > > > > with setting up the database.
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > If I define the Resource in the tomee.xml
> file
> > > in
> > > > > the
> > > > > > > > >> > > > tomeeDir/conf/
> > > > > > > > >> > > > > > > > directory I am able to use the database I
> > > specify,
> > > > > > which
> > > > > > > is
> > > > > > > > >> a
> > > > > > > > >> > > Derby
> > > > > > > > >> > > > > > > > database, but I want to be able to define
> the
> > > > > database
> > > > > > > to be
> > > > > > > > >> > > > project
> > > > > > > > >> > > > > > > > specific, like I was able to do in
> Glassfish.
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > What happens at the moment when I deploy the
> > > > > > application
> > > > > > > I
> > > > > > > > >> > notice
> > > > > > > > >> > > > in
> > > > > > > > >> > > > > > the
> > > > > > > > >> > > > > > > > logs that TomEE adjusts the PU defined to
> use
> > > the
> > > > > > > Default
> > > > > > > > >> JDBC
> > > > > > > > >> > > > > > Database,
> > > > > > > > >> > > > > > > > which was created, as I have removed the
> > > > > definitition
> > > > > > of
> > > > > > > it
> > > > > > > > >> > from
> > > > > > > > >> > > > the
> > > > > > > > >> > > > > > > > tomee.xml file.
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > Here is the logs when deploying my project:
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > org.apache.catalina.startup.HostConfig
> > > > > > > > >> > > > deployWAR
> > > > > > > > >> > > > > > > > INFO: Deploying web application archive
> > > > > > > > >> > > > > > > >
> > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > > >> org.apache.openejb.config.DeploymentLoader
> > > > > > > > >> > > > > > > > addFacesConfigs
> > > > > > > > >> > > > > > > > INFO: faces config file is null
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > org.apache.openejb.config.ConfigurationFactory
> > > > > > > > >> > > > > > > > configureApplication
> > > > > > > > >> > > > > > > > INFO: Configuring enterprise application:
> > > > > > > > >> > > > > > > >
> > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > > >> > > > > > deploy
> > > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > > > > localhost/tomee-jee6-module.Comp:
> > > > > > > > >> > > > > > > >
> > > > > > > > >>
> > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > > >> > > > > > deploy
> > > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > TestManagementService:
> > > > > > > > >> > > > > > > >
> > > EjbDeployment(deployment-id=TestManagementService)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > >> > deploy
> > > > > > > > >> > > > > > > > INFO: *Configuring
> > > > > > > > >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > >> > > > > > > >
> > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > >> > > > > > > setJtaDataSource
> > > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > > JerseyRestfulWebServicePU
> > > > > > > > >> > > > > > > <jta-data-source>
> > > > > > > > >> > > > > > > > to Resource ID 'Default JDBC Database' from
> > > > > 'derbyDb'
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > > >> > > > > > > > setNonJtaDataSource
> > > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > > JerseyRestfulWebServicePU
> > > > > > > > >> > > > > > > > <non-jta-data-source> to Resource ID
> 'Default
> > > JDBC
> > > > > > > > >> > > DatabaseNonJta'
> > > > > > > > >> > > > > from
> > > > > > > > >> > > > > > > > 'null'*
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> org.apache.openejb.config.AppInfoBuilder
> > > > > > > > >> > > build
> > > > > > > > >> > > > > > > > INFO: Enterprise application
> > > > > > > > >> > > > > > > >
> > > > > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > > > > > > >> > > loaded.
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > >> > > > > > > > createApplication
> > > > > > > > >> > > > > > > > INFO: Assembling app:
> > > > > > > > >> > > > > > > >
> > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.ejb.Ejb3Configuration
> > > > > > > > >> > > configure
> > > > > > > > >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > > > > > > > >> > > > > > > > name: JerseyRestfulWebServicePU
> > > > > > > > >> > > > > > > > ...]
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.cfg.AnnotationBinder
> > > > > > > > >> > bindClass
> > > > > > > > >> > > > > > > > INFO: Binding entity from annotated class:
> > > > > > > > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> org.hibernate.cfg.annotations.EntityBinder
> > > > > > > > >> > > > > > bindTable
> > > > > > > > >> > > > > > > > INFO: Bind entity
> > > > > com.shenick.diversifeye.domain.Host
> > > > > > on
> > > > > > > > >> table
> > > > > > > > >> > > Host
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> org.hibernate.cfg.AnnotationConfiguration
> > > > > > > > >> > > > > > > > secondPassCompile
> > > > > > > > >> > > > > > > > INFO: Hibernate Validator not found:
> ignoring
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > > > org.hibernate.connection.ConnectionProviderFactory
> > > > > > > > >> > > > > > > > newConnectionProvider
> > > > > > > > >> > > > > > > > INFO: Initializing connection provider:
> > > > > > > > >> > > > > > > >
> > > > > > > > >> >
> > > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > > > > > >
> > > > > > > > >> >
> > > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > >> > > > > > > configure
> > > > > > > > >> > > > > > > > INFO: Using provided datasource
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine, version:
> > > > 2.2.4*
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: JDBC driver: HSQL Database Engine
> > Driver,
> > > > > > version:
> > > > > > > > >> 2.2.4
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Automatic flush during
> > beforeCompletion():
> > > > > > > disabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Automatic session close at end of
> > > > transaction:
> > > > > > > > >> disabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Scrollable result sets: enabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Connection release mode: auto
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Default batch fetch size: 1
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Generate SQL with comments: disabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Order SQL updates by primary key:
> > disabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Order SQL inserts for batching:
> disabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > > > > > createQueryTranslatorFactory
> > > > > > > > >> > > > > > > > INFO: Query translator:
> > > > > > > > >> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Query language substitutions: {}
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: JPA-QL strict compliance: enabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Second-level cache: enabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Query cache: disabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > > > > createCacheProvider
> > > > > > > > >> > > > > > > > INFO: Cache provider:
> > > > > > > org.hibernate.cache.NoCacheProvider
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Optimize cache for minimal puts:
> > disabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Structured second-level cache entries:
> > > > > disabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Statistics: disabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Deleted entity synthetic identifier
> > > > rollback:
> > > > > > > disabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Default entity-mode: pojo
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.SettingsFactory
> > > > > > > > >> > > > buildSettings
> > > > > > > > >> > > > > > > > INFO: Named query checking : enabled
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > > > > > >
> > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > > > > >> > > > > > > > createEntityManagerFactory
> > > > > > > > >> > > > > > > > INFO:
> > > > > *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > >> > > > > > > >
> > > provider=org.hibernate.ejb.HibernatePersistence) -
> > > > > > > provider
> > > > > > > > >> > time
> > > > > > > > >> > > > > 401ms*
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > >> > > > > > > bind
> > > > > > > > >> > > > > > > > INFO:
> > > > > > > Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > > > > > > > >> -->
> > > > > > > > >> > > > > > > >
> > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > >> > > > > > > bind
> > > > > > > > >> > > > > > > > INFO:
> > Jndi(name=TestManagementServiceLocalBean)
> > > > -->
> > > > > > > > >> > > > > > > > Ejb(deployment-id=TestManagementService)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > >> > > > > > > bind
> > > > > > > > >> > > > > > > > INFO:
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > > > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > > >> > > > > > > bind
> > > > > > > > >> > > > > > > > INFO:
> > > > > > > > >> > > > > >
> > > > > > > > >>
> > > > > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > > > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.apache.openejb.cdi.CdiBuilder
> > > > > > > build
> > > > > > > > >> > > > > > > > INFO: existing thread singleton service in
> > > > > > > SystemInstance()
> > > > > > > > >> > > > > > > >
> > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > >> > > > > > > > startApplication
> > > > > > > > >> > > > > > > > INFO: OpenWebBeans Container is starting...
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > > >> > > > startUp
> > > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> [CdiPlugin]
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > > >> > > > startUp
> > > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > > > > > [OpenWebBeansJsfPlugin]
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.apache.openejb.cdi.BeansDeployer
> > > > > > > > >> > > > > > > > validateInjectionPoints
> > > > > > > > >> > > > > > > > INFO: All injection points were validated
> > > > > > successfully.
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > >> > > > > > > > startApplication
> > > > > > > > >> > > > > > > > INFO: OpenWebBeans Container has started, it
> > > took
> > > > > [15]
> > > > > > > ms.
> > > > > > > > >> > > > > > > > using context file
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > >> > > > > > > > createApplication
> > > > > > > > >> > > > > > > > INFO: Created
> > > > > Ejb(deployment-id=TestManagementService,
> > > > > > > > >> > > > > > > > ejb-name=TestManagementService, container=My
> > > > > Singleton
> > > > > > > > >> > Container)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > >> > > > > > > > createApplication
> > > > > > > > >> > > > > > > > INFO: Started
> > > > > Ejb(deployment-id=TestManagementService,
> > > > > > > > >> > > > > > > > ejb-name=TestManagementService, container=My
> > > > > Singleton
> > > > > > > > >> > Container)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > >> > > > > > > > createApplication
> > > > > > > > >> > > > > > > > INFO: Deployed
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > >> > > > > > > safeBind
> > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: Name
> > > [openejb]
> > > > > is
> > > > > > > not
> > > > > > > > >> bound
> > > > > > > > >> > > in
> > > > > > > > >> > > > > this
> > > > > > > > >> > > > > > > > Context. Unable to find [openejb].
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> >
> > > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> >
> > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > >
> > > > > > > > >>
> > > > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > >
> > > > > > > > >>
> > > > > > >
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> >
> > > > > > >
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> >
> > > > > > >
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> > >
> > > > > > >
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > >
> > > > > > >
> > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > >> > > > > > > > at
> > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > >> Method)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > >> > > > > > > > at
> > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> > >
> > > > > > >
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > >
> > > > > > > > >>
> > > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > >> > > > > > > safeBind
> > > > > > > > >> > > > > > > > INFO: TransactionManager already bound,
> > ignoring
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > >> > > > > > > safeBind
> > > > > > > > >> > > > > > > > INFO: TransactionSynchronizationRegistry
> > already
> > > > > > bound,
> > > > > > > > >> > ignoring
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > >> > > > > > > safeBind
> > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No ORB
> > > > > registered
> > > > > > > with
> > > > > > > > >> the
> > > > > > > > >> > > > > OpenEJB
> > > > > > > > >> > > > > > > > system
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > >
> > > > > > > > >>
> > > > > > >
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> >
> > > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> >
> > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > >
> > > > > > > > >>
> > > > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > >
> > > > > > > > >>
> > > > > > >
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> >
> > > > > > >
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> >
> > > > > > >
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> > >
> > > > > > >
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > >
> > > > > > >
> > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > >> > > > > > > > at
> > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > >> Method)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > >> > > > > > > > at
> > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> > >
> > > > > > >
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > >
> > > > > > > > >>
> > > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > > >> > > > > > > safeBind
> > > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No
> > > > > HandleDelegate
> > > > > > > > >> > registered
> > > > > > > > >> > > > with
> > > > > > > > >> > > > > > the
> > > > > > > > >> > > > > > > > OpenEJB system
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > >
> > > > > > > > >>
> > > > > > >
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> >
> > > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> >
> > > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > >
> > > > > > > > >>
> > > > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > >
> > > > > > > > >>
> > > > > > >
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> >
> > > > > > >
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> >
> > > > > > >
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> > >
> > > > > > >
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > >
> > > > > > >
> > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > >> > > > > > > > at
> > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > >> Method)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > >> > > > > > > > at
> > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > >
> > > > > > > > >> > >
> > > > > > >
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > >
> > > > > > > > >>
> > > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > >> > > > > > > > at
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > org.apache.cxf.endpoint.ServerImpl
> > > > > > > > >> > > > > initDestination
> > > > > > > > >> > > > > > > > INFO: Setting the server's publish address
> to
> > be
> > > > > > > > >> > > > > > > >
> > http://localhost:8080/tomee-jee6-module/webapi
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > > >> > > > > > deployEJB
> > > > > > > > >> > > > > > > > INFO: REST Service:
> > > > > > > > >> > > > > > > >
> > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> > > > > > > EJB
> > > > > > > > >> > > > > > > > TestManagementService
> > > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > > >> > > > > > > > afterApplicationCreated
> > > > > > > > >> > > > > > > > INFO: REST application deployed:
> > > > > > > > >> > > > > > > >
> > com.shenick.diversifeye.config.ApplicationConfig
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > Here is my persistence Unit:
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > <persistence version="2.0" xmlns="
> > > > > > > > >> > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > > >> > > > > > > "
> > > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > > > > >> > > > > > > xsi:schemaLocation="
> > > > > > > > >> > > > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > > >> > > > > > > >
> > > > > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > > > > > > > >> ">
> > > > > > > > >> > > > > > > > <persistence-unit
> > > name="JerseyRestfulWebServicePU"
> > > > > > > > >> > > > > > > transaction-type="JTA">
> > > > > > > > >> > > > > > > >
> > > > > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > > > > >> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
> > > > > > > > >> > > > > > > >
> > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > > > > >> > > > > > > >
> > > > > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > > > > >> > > > > > > > <properties>
> > > > > > > > >> > > > > > > > <property name="hibernate.dialect"
> > > > > > > > >> > > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > > > > >> > > > > > > > <property name="hibernate.hbm2ddl.auto"
> > > > > > value="update"/>
> > > > > > > > >> > > > > > > > </properties>
> > > > > > > > >> > > > > > > > </persistence-unit>
> > > > > > > > >> > > > > > > > </persistence>
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > I have a context.xml and openejb.xml
> specified
> > > in
> > > > > the
> > > > > > > > >> META-INF
> > > > > > > > >> > > > folder
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > openejb.xml:
> > > > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > >> > > > > > > > <openejb>
> > > > > > > > >> > > > > > > > <Resource id="derbyDb" type="DataSource">
> > > > > > > > >> > > > > > > > JdbcDriver
> org.apache.derby.jdbc.ClientDriver
> > > > > > > > >> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > > >> > > > > > > > UserName app
> > > > > > > > >> > > > > > > > Password app
> > > > > > > > >> > > > > > > > JtaManaged true
> > > > > > > > >> > > > > > > > </Resource>
> > > > > > > > >> > > > > > > > </openejb>
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > and context.xml:
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > >> > > > > > > > <Context antiJARLocking="true"
> > > > > > > path="/tomee-jee6-module"/>
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > I also have the resource referenced in the
> > > web.xml
> > > > > > file:
> > > > > > > > >> > > > > > > > <web-app version="3.0" xmlns="
> > > > > > > > >> > http://java.sun.com/xml/ns/javaee"
> > > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > > > >> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > > > > >> > xsi:schemaLocation="
> > > > > > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > > > > > > >> > > > > > > >
> > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
> > > > ">
> > > > > > > > >> > > > > > > > <session-config>
> > > > > > > > >> > > > > > > > <session-timeout>
> > > > > > > > >> > > > > > > > 30
> > > > > > > > >> > > > > > > > </session-timeout>
> > > > > > > > >> > > > > > > >   </session-config>
> > > > > > > > >> > > > > > > > <resource-ref>
> > > > > > > > >> > > > > > > > <description>
> > > > > > > > >> > > > > > > > Object factory for MyBean instances.
> > > > > > > > >> > > > > > > > </description>
> > > > > > > > >> > > > > > > > <res-ref-name>
> > > > > > > > >> > > > > > > > derbyDb
> > > > > > > > >> > > > > > > > </res-ref-name>
> > > > > > > > >> > > > > > > > <res-type>
> > > > > > > > >> > > > > > > > javax.sql.DataSource
> > > > > > > > >> > > > > > > > </res-type>
> > > > > > > > >> > > > > > > > <res-auth>
> > > > > > > > >> > > > > > > > Container
> > > > > > > > >> > > > > > > > </res-auth>
> > > > > > > > >> > > > > > > >   </resource-ref>
> > > > > > > > >> > > > > > > > </web-app>
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > What am I doing wrong, or is it not possible
> > to
> > > > > > define a
> > > > > > > > >> > > datasource
> > > > > > > > >> > > > > at
> > > > > > > > >> > > > > > a
> > > > > > > > >> > > > > > > > project level, and it should only be
> > referenced
> > > in
> > > > > the
> > > > > > > > >> > tommee.xml
> > > > > > > > >> > > > > file?
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > Thanks in advance
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > > > John McDonnell
> > > > > > > > >> > > > > > > >
> > > > > > > > >> > > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > --
> > > > > > > > >> > > > > > John
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > > --
> > > > > > > > >> > > > John
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >> >
> > > > > > > > >> >
> > > > > > > > >> > --
> > > > > > > > >> > John
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > John
> > > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > John
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > John
> > >
> >
>
>
>
> --
> John
>

Re: Project specific database

Posted by John McDonnell <mc...@gmail.com>.
*Slams head on desk*

resources.xml is placed in WEB-INF/classes/META-INF???

Damn it I tried both WEB-INF and in META-INF but neither of them worked.

I have justed tried placing the the folder you specified and attempted to
deploy the application I got the following in my logs:



06-Jul-2012 11:14:30 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
06-Jul-2012 11:14:30 org.apache.tomee.catalina.TomcatWebAppBuilder
startInternal
INFO: -------------------------
TomcatWebAppBuilder.start /tomee-jee6-module
06-Jul-2012 11:14:30 org.apache.openejb.config.DeploymentLoader
addFacesConfigs
INFO: faces config file is null
06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application:
C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
06-Jul-2012 11:14:30 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb TestManagementService:
EjbDeployment(deployment-id=TestManagementService)
06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=app/jdbc/jrws, type=Resource,
provider-id=Default JDBC Database)
06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=app/jdbc/jrws)
06-Jul-2012 11:14:30 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Managed Container, type=Container,
provider-id=Default Managed Container)
06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig createContainer
INFO: Auto-creating a container for bean localhost/tomee-jee6-module.Comp:
Container(type=MANAGED, id=Default Managed Container)
06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=Default Managed Container)
06-Jul-2012 11:14:30 org.apache.openejb.core.managed.SimplePassivater init
INFO: Using directory C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\temp for
stateful session passivation
06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig processResourceRef
INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig processResourceRef
INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in bean
localhost/tomee-jee6-module.Comp to Resource(id=app/jdbc/jrws)
06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig processResourceRef
INFO: Auto-linking resource-ref 'app/jdbc/jrws' in bean
TestManagementService to Resource(id=app/jdbc/jrws)
06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig processResourceRef
INFO: Auto-linking resource-ref 'openejb/Resource/app/jdbc/jrws' in bean
TestManagementService to Resource(id=app/jdbc/jrws)
06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
INFO: Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
provider=org.hibernate.ejb.HibernatePersistence)
06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
logAutoCreateResource
INFO: Auto-creating a Resource with id 'app/jdbc/jrwsNonJta' of type
'DataSource for 'JerseyRestfulWebServicePU'.
06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig deploy
INFO: Configuring Service(id=app/jdbc/jrwsNonJta, type=Resource,
provider-id=app/jdbc/jrws)
06-Jul-2012 11:14:30 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=app/jdbc/jrwsNonJta)
06-Jul-2012 11:14:30 org.apache.openejb.config.AutoConfig
setNonJtaDataSource
INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
<non-jta-data-source> to Resource ID 'app/jdbc/jrwsNonJta' from 'null'
06-Jul-2012 11:14:30 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application
"C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module" loaded.
06-Jul-2012 11:14:31 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app:
C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.Version <clinit>
INFO: Hibernate Annotations 3.3.1.GA
06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.5
06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
06-Jul-2012 11:14:31 org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
06-Jul-2012 11:14:31 org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
06-Jul-2012 11:14:31 org.hibernate.ejb.Version <clinit>
INFO: Hibernate EntityManager 3.3.2.GA
06-Jul-2012 11:14:31 org.hibernate.ejb.Ejb3Configuration configure
INFO: Processing PersistenceUnitInfo [
name: JerseyRestfulWebServicePU
...]
06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class:
com.shenick.diversifeye.domain.Host
06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class:
com.shenick.diversifeye.domain.App
06-Jul-2012 11:14:31 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.shenick.diversifeye.domain.App on table App
06-Jul-2012 11:14:31 org.hibernate.cfg.AnnotationConfiguration
secondPassCompile
INFO: Hibernate Validator not found: ignoring
06-Jul-2012 11:14:31 org.hibernate.connection.ConnectionProviderFactory
newConnectionProvider
INFO: Initializing connection provider:
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
06-Jul-2012 11:14:31
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider configure
INFO: Using provided datasource
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: Apache Derby, version: 10.8.1.2 - (1095077)
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: Apache Derby Network Client JDBC Driver, version:
10.8.2.2 - (1181258)
06-Jul-2012 11:14:31 org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.DerbyDialect
06-Jul-2012 11:14:31 org.hibernate.transaction.TransactionFactoryFactory
buildTransactionFactory
INFO: Transaction strategy:
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
06-Jul-2012 11:14:31
org.hibernate.transaction.TransactionManagerLookupFactory
getTransactionManagerLookup
INFO: instantiating TransactionManagerLookup:
org.apache.openejb.hibernate.TransactionManagerLookup
06-Jul-2012 11:14:31
org.hibernate.transaction.TransactionManagerLookupFactory
getTransactionManagerLookup
INFO: instantiated TransactionManagerLookup
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL inserts for batching: disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory
createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
06-Jul-2012 11:14:31 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: enabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
06-Jul-2012 11:14:31 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
06-Jul-2012 11:14:31 org.hibernate.impl.SessionFactoryObjectFactory
addInstance
INFO: Not binding factory to JNDI, no JNDI name configured
06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: Running hbm2ddl schema update
06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: fetching database metadata
06-Jul-2012 11:14:31 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: updating schema
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: table found: .APP.APP
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: columns: [id, name]
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: foreign keys: []
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: indexes: [sql120628160338910]
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: table found: .APP.HOST
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: columns: [id, name, ipaddress]
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: foreign keys: []
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: indexes: [sql120622144724970]
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: table found: .APP.HIBERNATE_UNIQUE_KEY
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: columns: [next_hi]
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: foreign keys: []
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: indexes: []
06-Jul-2012 11:14:32 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: schema update complete
06-Jul-2012 11:14:32
org.apache.openejb.assembler.classic.PersistenceBuilder
createEntityManagerFactory
INFO: PersistenceUnit(name=JerseyRestfulWebServicePU,
provider=org.hibernate.ejb.HibernatePersistence) - provider time 1098ms
06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
destroyApplication
INFO: Undeploying app:
C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module
06-Jul-2012 11:14:32 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[/tomee-jee6-module]]
in state [STARTING_PREP]
at
org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:298)
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1053)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:839)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:824)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.undeployWebApps(TomcatWebAppBuilder.java:465)
at
org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1186)
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:909)
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
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:5172)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
at
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
06-Jul-2012 11:14:32 org.apache.openejb.assembler.classic.Assembler
destroyResource
INFO: Closing DataSource: app/jdbc/jrws
06-Jul-2012 11:14:32 org.hibernate.impl.SessionFactoryImpl close
INFO: closing
06-Jul-2012 11:14:32 org.apache.tomee.catalina.TomcatWebAppBuilder
startInternal
SEVERE: Unable to deploy collapsed ear in war /tomee-jee6-module:
Exception: Creating application failed:
C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module: Error
building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
for comp/env/openejb/Resource/app/jdbc/jrws
org.apache.openejb.OpenEJBException: Creating application failed:
C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module: Error
building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
for comp/env/openejb/Resource/app/jdbc/jrws
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
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:5172)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
at
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.openejb.OpenEJBException: Error building bean
'localhost/tomee-jee6-module.Comp'. Exception: class
org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
for comp/env/openejb/Resource/app/jdbc/jrws
at
org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
... 50 more
Caused by: org.apache.openejb.OpenEJBException: Unable to load type
'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
at
org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
at
org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
at
org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
at
org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
at
org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
at
org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
... 51 more
06-Jul-2012 11:14:32 org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
at
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.tomee.catalina.TomEERuntimeException:
org.apache.openejb.OpenEJBException: Creating application failed:
C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module: Error
building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
for comp/env/openejb/Resource/app/jdbc/jrws
at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:683)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:626)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
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:5172)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 42 more
Caused by: org.apache.openejb.OpenEJBException: Creating application
failed: C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module:
Error building bean 'localhost/tomee-jee6-module.Comp'. Exception: class
org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
for comp/env/openejb/Resource/app/jdbc/jrws
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:913)
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:510)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:676)
... 48 more
Caused by: org.apache.openejb.OpenEJBException: Error building bean
'localhost/tomee-jee6-module.Comp'. Exception: class
org.apache.openejb.OpenEJBException: Unable to load type 'DataSource' for
comp/env/openejb/Resource/app/jdbc/jrws: Unable to load type 'DataSource'
for comp/env/openejb/Resource/app/jdbc/jrws
at
org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:80)
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:673)
... 50 more
Caused by: org.apache.openejb.OpenEJBException: Unable to load type
'DataSource' for comp/env/openejb/Resource/app/jdbc/jrws
at
org.apache.openejb.assembler.classic.JndiEncBuilder.getType(JndiEncBuilder.java:571)
at
org.apache.openejb.assembler.classic.JndiEncBuilder.buildMap(JndiEncBuilder.java:275)
at
org.apache.openejb.assembler.classic.JndiEncBuilder.buildBindings(JndiEncBuilder.java:157)
at
org.apache.openejb.assembler.classic.JndiEncBuilder.build(JndiEncBuilder.java:141)
at
org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:145)
at
org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:65)
... 51 more
06-Jul-2012 11:14:32 org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive
C:\dev\apache-tomee-plus-1.1.0-SNAPSHOT\webapps\tomee-jee6-module.war
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-jee6-module]]
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:902)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
at
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:365)
at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:210)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Any suggestions on where I have made a mistake?



Also Thanks for you help so far Romain!

John


On 6 July 2012 10:52, Romain Manni-Bucau <rm...@gmail.com> wrote:

> hmm, i'm pretty sure resources.xml works (in WEB-INF/classes/META-INF)
> since it uses the same code
>
> - Romain
>
>
> 2012/7/6 John McDonnell <mc...@gmail.com>
>
> > Sorry, yes defining the resource in the tomee.xml file works for me.
> >
> > Although I was initially looking at seeing if it was possible to provide
> > the database details within a project, like you can in Glassfish using
> the
> > glassfish-resource.xml file.  I've given up and just continued on
> > converting our simple Glassfish project into a TomEE project by defining
> > the database resource in the tomee.xml file.
> >
> > John
> >
> > On 6 July 2012 10:23, Romain Manni-Bucau <rm...@gmail.com> wrote:
> >
> > > using in tomee.xml:
> > >
> > > <tomee>
> > >   <Resource id="jdbc/blog" type="DataSource">
> > >     JdbcDriver org.apache.derby.jdbc.ClientDriver
> > >     JdbcUrl jdbc:derby://localhost:1527/sample
> > >     UserName app
> > >     Password app
> > >     JtaManaged true
> > >   </Resource>
> > > </tomee>
> > >
> > > with in persistence.xml <jta-data-source>jdbc/blog</jta-data-source>
> > >
> > > works for me.
> > >
> > > any details on your installation?
> > >
> > > i used the tomee maven plugin to add derby jars to the container
> > >
> > >
> > > - Romain
> > >
> > >
> > > 2012/7/6 John McDonnell <mc...@gmail.com>
> > >
> > > > Okay, firstly apologies for the last email...
> > > >
> > > >
> > > > I tried calling the xml file resources.xml, and its in the META-INF
> > > folder,
> > > > and it is still not working.
> > > >
> > > > The Derby Jar is also in the tomee/lib/ directory along with the
> > > hibernate
> > > > jar as well, but when every I try to deploy the application I still
> get
> > > > connected to the HSQL database.
> > > >
> > > > John
> > > >
> > > >
> > > >
> > > > On 5 July 2012 00:26, Romain Manni-Bucau <rm...@gmail.com>
> > wrote:
> > > >
> > > > > not sure i understood correctly,
> > > > >
> > > > > typically tomee.xml is in conf/
> > > > >
> > > > > resources.xml is in META-INF like
> > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml
> > > > >
> > > > > the resources.xml uses the webapp classloader where tomee.xml
> creates
> > > > > resources before any application deployment
> > > > >
> > > > > - Romain
> > > > >
> > > > >
> > > > > 2012/7/5 John McDonnell <mc...@gmail.com>
> > > > >
> > > > > > Sorry but I am just home from a night out ....  I have tried
> > calling
> > > > the
> > > > > > xml file openejb.xml tomee.xml and before I posted on this
> mailing
> > > > list I
> > > > > > have also tried calling the config file resources.xml and neither
> > of
> > > > > those
> > > > > > three options worked.
> > > > > >
> > > > > > Is the contents of each file correct? If so this is either a bug
> > or a
> > > > > > limitation of ur project and so I should go back to defining the
> > > > > > datatsource in the servers tomee.xml file which seems over the
> top
> > > > > >
> > > > > > John
> > > > > > On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <
> > rmannibucau@gmail.com>
> > > > > > wrote:
> > > > > > >
> > > > > > > you didnt add derby in tomee.xml?
> > > > > > >
> > > > > > > if you want to deliver derby in your webapp use
> > > > META-INF/resources.xml
> > > > > > > instead of tomee.xml.
> > > > > > >
> > > > > > > Note: using apache maven snapshot repository you can add to
> your
> > > pom
> > > > > > (think
> > > > > > > to rename your final to be the context name):
> > > > > > >
> > > > > > > <plugin>
> > > > > > >             <groupId>org.apache.openejb.maven</groupId>
> > > > > > >             <artifactId>tomee-maven-plugin</artifactId>
> > > > > > >             <version>1.0.0-SNAPSHOT</version>
> > > > > > >             <configuration>
> > > > > > >               <tomeeClassifier>jaxrs</tomeeClassifier>
> > > > > > >               <libs>
> > > > > > >                 <lib>dom4j:dom4j:1.6.1</lib>
> > > > > > >                 <lib>antlr:antlr:2.7.6</lib>
> > > > > > >                 <lib>cglib:cglib:2.1_3</lib>
> > > > > > >                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> > > > > > >                 <lib>org.hibernate:hibernate:3.2.5.ga</lib>
> > > > > > >
> > > > > <lib>commons-collections:commons-collections:2.1.1</lib>
> > > > > > >                 <lib>org.hibernate:hibernate-entitymanager:
> > > 3.3.2.GA
> > > > > > </lib>
> > > > > > >                 <lib>org.hibernate:hibernate-annotations:
> > 3.3.1.GA
> > > > > </lib>
> > > > > > >
> <lib>org.hibernate:hibernate-commons-annotations:
> > > > > > 3.0.0.ga
> > > > > > > </lib>
> > > > > > >                 <lib>org.hibernate:ejb3-persistence:1.0.1.GA
> > </lib>
> > > > > <!--
> > > > > > > derby and so on can be added the same way -->
> > > > > > >               </libs>
> > > > > > >             </configuration>
> > > > > > >           </plugin>
> > > > > > >
> > > > > > > - Romain
> > > > > > >
> > > > > > >
> > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > >
> > > > > > > > Okay,
> > > > > > > >
> > > > > > > > I have zipped up the maven project which contains the 2
> > modules.
> > > >  The
> > > > > > core
> > > > > > > > module is just a simple library which is used by the TomEE
> > > Restful
> > > > > JEE6
> > > > > > > > Module.
> > > > > > > >
> > > > > > > >
> > > > > > > > I have the following Jars in the tomee/lib/ dir:
> > > > > > > >
> > > > > > > > cglib 2.1_3
> > > > > > > > hibernate 3.2.5.GA
> > > > > > > > hibernate-annotations 3.3.1.GA
> > > > > > > > hibernate-commons-annotations 3.3.1.GA
> > > > > > > > dom4j 1.6.1
> > > > > > > > asm 1.5.3
> > > > > > > > asm-attr 1.5.3
> > > > > > > >
> > > > > > > >
> > > > > > > > and I have editted line 294 of catalina.bat to set the
> > > > > > > > javax.persistence.provider property:
> > > > > > > > set
> > > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > > > > > > >
> > > > > > > >
> > > > > > > > Hope this helps!
> > > > > > > >
> > > > > > > >
> > > > > > > > John McDonnell
> > > > > > > >
> > > > > > > >
> > > > > > > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <
> jeanouii@gmail.com>
> > > > > wrote:
> > > > > > > >
> > > > > > > >> Any chance, you could share a simple example to reproduce
> the
> > > > issue?
> > > > > > > >> That'd be easier to work on maybe.
> > > > > > > >>
> > > > > > > >> Jean-Louis
> > > > > > > >>
> > > > > > > >> 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > >>
> > > > > > > >> > I renamed the openejb.xml file to tomee.xml (its still in
> > the
> > > > > > META-INF
> > > > > > > >> > folder) and it looks like this now:
> > > > > > > >> >
> > > > > > > >> > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > >> > <tomee>
> > > > > > > >> > <Resource id="derbyDb" type="DataSource">
> > > > > > > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > >> > UserName app
> > > > > > > >> > Password app
> > > > > > > >> > JtaManaged true
> > > > > > > >> > </Resource>
> > > > > > > >> > </tomee>
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > No joy again as the application is still using the HSQL
> > > database
> > > > > as
> > > > > > > >> opposed
> > > > > > > >> > to the Derby one.
> > > > > > > >> >
> > > > > > > >> > Any other suggestions?
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > John
> > > > > > > >> >
> > > > > > > >> > On 4 July 2012 15:12, Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > > >
> > > > > > wrote:
> > > > > > > >> >
> > > > > > > >> > > hmm, try tomee.xml instead of openejb.xml
> > > > > > > >> > >
> > > > > > > >> > > - Romain
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > >> > >
> > > > > > > >> > > > I have downloaded the the snapshot of 1.1.0 and
> deployed
> > > the
> > > > > > > >> > application,
> > > > > > > >> > > > but no luck.
> > > > > > > >> > > >
> > > > > > > >> > > > when deploying the application, the application still
> > uses
> > > > > HSQL
> > > > > > for
> > > > > > > >> the
> > > > > > > >> > > > database, and not the defined Derby database.  Is
> there
> > a
> > > > > > problem
> > > > > > > >> with
> > > > > > > >> > my
> > > > > > > >> > > > configuration? (context.xml/openejb.xml/web.xml)
> > > > > > > >> > > >
> > > > > > > >> > > > John
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <
> > > > > rmannibucau@gmail.com
> > > > > > >
> > > > > > > >> > wrote:
> > > > > > > >> > > >
> > > > > > > >> > > > > yep that's the same way netbeans deploys
> > > > > > > >> > > > >
> > > > > > > >> > > > > - Romain
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > > >> > > > >
> > > > > > > >> > > > > > Hey, thanks for the fast reply...
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > I dont use netbeans for deploying, I use to to
> build
> > > the
> > > > > > maven
> > > > > > > >> > > project,
> > > > > > > >> > > > > and
> > > > > > > >> > > > > > then I use the management web app "/manager" to
> > > deploy.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > I'll get the snapshot anyways and try that out.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > John
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > > >> >
> > > > > > > >> > > > wrote:
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > > Hi,
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > do you use netbeans to deploy?
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > maybe try out our snapshot since we fixed some
> > > issues
> > > > > > > >> regarding
> > > > > > > >> > the
> > > > > > > >> > > > way
> > > > > > > >> > > > > > > netbeans deploys.
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > Side note: it is tomee.xml not tommee.xml
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > - Romain
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > 2012/7/4 John McDonnell <
> mcdonnell.john@gmail.com
> > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > > I recently started looking to convert an JEE6
> > > > > > application
> > > > > > > >> > working
> > > > > > > >> > > > in
> > > > > > > >> > > > > > > > Glassfish application server to using TomEE+
> 1.0
> > > > and I
> > > > > > am
> > > > > > > >> > having
> > > > > > > >> > > an
> > > > > > > >> > > > > > issue
> > > > > > > >> > > > > > > > with setting up the database.
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > If I define the Resource in the tomee.xml file
> > in
> > > > the
> > > > > > > >> > > > tomeeDir/conf/
> > > > > > > >> > > > > > > > directory I am able to use the database I
> > specify,
> > > > > which
> > > > > > is
> > > > > > > >> a
> > > > > > > >> > > Derby
> > > > > > > >> > > > > > > > database, but I want to be able to define the
> > > > database
> > > > > > to be
> > > > > > > >> > > > project
> > > > > > > >> > > > > > > > specific, like I was able to do in Glassfish.
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > What happens at the moment when I deploy the
> > > > > application
> > > > > > I
> > > > > > > >> > notice
> > > > > > > >> > > > in
> > > > > > > >> > > > > > the
> > > > > > > >> > > > > > > > logs that TomEE adjusts the PU defined to use
> > the
> > > > > > Default
> > > > > > > >> JDBC
> > > > > > > >> > > > > > Database,
> > > > > > > >> > > > > > > > which was created, as I have removed the
> > > > definitition
> > > > > of
> > > > > > it
> > > > > > > >> > from
> > > > > > > >> > > > the
> > > > > > > >> > > > > > > > tomee.xml file.
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > Here is the logs when deploying my project:
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > org.apache.catalina.startup.HostConfig
> > > > > > > >> > > > deployWAR
> > > > > > > >> > > > > > > > INFO: Deploying web application archive
> > > > > > > >> > > > > > > >
> > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > > >> org.apache.openejb.config.DeploymentLoader
> > > > > > > >> > > > > > > > addFacesConfigs
> > > > > > > >> > > > > > > > INFO: faces config file is null
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > org.apache.openejb.config.ConfigurationFactory
> > > > > > > >> > > > > > > > configureApplication
> > > > > > > >> > > > > > > > INFO: Configuring enterprise application:
> > > > > > > >> > > > > > > >
> > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > >> > > > > > deploy
> > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > > > localhost/tomee-jee6-module.Comp:
> > > > > > > >> > > > > > > >
> > > > > > > >>
> EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > > >> > > > > > deploy
> > > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> TestManagementService:
> > > > > > > >> > > > > > > >
> > EjbDeployment(deployment-id=TestManagementService)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > >> > deploy
> > > > > > > >> > > > > > > > INFO: *Configuring
> > > > > > > >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > >> > > > > > > >
> provider=org.hibernate.ejb.HibernatePersistence)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > >> > > > > > > setJtaDataSource
> > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > JerseyRestfulWebServicePU
> > > > > > > >> > > > > > > <jta-data-source>
> > > > > > > >> > > > > > > > to Resource ID 'Default JDBC Database' from
> > > > 'derbyDb'
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.apache.openejb.config.AutoConfig
> > > > > > > >> > > > > > > > setNonJtaDataSource
> > > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > > JerseyRestfulWebServicePU
> > > > > > > >> > > > > > > > <non-jta-data-source> to Resource ID 'Default
> > JDBC
> > > > > > > >> > > DatabaseNonJta'
> > > > > > > >> > > > > from
> > > > > > > >> > > > > > > > 'null'*
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> org.apache.openejb.config.AppInfoBuilder
> > > > > > > >> > > build
> > > > > > > >> > > > > > > > INFO: Enterprise application
> > > > > > > >> > > > > > > >
> > > > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > > > > > >> > > loaded.
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > >> > > > > > > > createApplication
> > > > > > > >> > > > > > > > INFO: Assembling app:
> > > > > > > >> > > > > > > >
> > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > >> > > > > > > > parseValidationXml
> > > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.ejb.Ejb3Configuration
> > > > > > > >> > > configure
> > > > > > > >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > > > > > > >> > > > > > > > name: JerseyRestfulWebServicePU
> > > > > > > >> > > > > > > > ...]
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.cfg.AnnotationBinder
> > > > > > > >> > bindClass
> > > > > > > >> > > > > > > > INFO: Binding entity from annotated class:
> > > > > > > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> org.hibernate.cfg.annotations.EntityBinder
> > > > > > > >> > > > > > bindTable
> > > > > > > >> > > > > > > > INFO: Bind entity
> > > > com.shenick.diversifeye.domain.Host
> > > > > on
> > > > > > > >> table
> > > > > > > >> > > Host
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> org.hibernate.cfg.AnnotationConfiguration
> > > > > > > >> > > > > > > > secondPassCompile
> > > > > > > >> > > > > > > > INFO: Hibernate Validator not found: ignoring
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > > > org.hibernate.connection.ConnectionProviderFactory
> > > > > > > >> > > > > > > > newConnectionProvider
> > > > > > > >> > > > > > > > INFO: Initializing connection provider:
> > > > > > > >> > > > > > > >
> > > > > > > >> >
> > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > > > > > >
> > > > > > > >> >
> > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > >> > > > > > > configure
> > > > > > > >> > > > > > > > INFO: Using provided datasource
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine, version:
> > > 2.2.4*
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: JDBC driver: HSQL Database Engine
> Driver,
> > > > > version:
> > > > > > > >> 2.2.4
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Automatic flush during
> beforeCompletion():
> > > > > > disabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Automatic session close at end of
> > > transaction:
> > > > > > > >> disabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Scrollable result sets: enabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Connection release mode: auto
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Default batch fetch size: 1
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Generate SQL with comments: disabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Order SQL updates by primary key:
> disabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Order SQL inserts for batching: disabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > > > > > createQueryTranslatorFactory
> > > > > > > >> > > > > > > > INFO: Query translator:
> > > > > > > >> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Query language substitutions: {}
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: JPA-QL strict compliance: enabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Second-level cache: enabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Query cache: disabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > > > > createCacheProvider
> > > > > > > >> > > > > > > > INFO: Cache provider:
> > > > > > org.hibernate.cache.NoCacheProvider
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Optimize cache for minimal puts:
> disabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Structured second-level cache entries:
> > > > disabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Statistics: disabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Deleted entity synthetic identifier
> > > rollback:
> > > > > > disabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Default entity-mode: pojo
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.SettingsFactory
> > > > > > > >> > > > buildSettings
> > > > > > > >> > > > > > > > INFO: Named query checking : enabled
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > > > > > >
> > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > > > >> > > > > > > > createEntityManagerFactory
> > > > > > > >> > > > > > > > INFO:
> > > > *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > >> > > > > > > >
> > provider=org.hibernate.ejb.HibernatePersistence) -
> > > > > > provider
> > > > > > > >> > time
> > > > > > > >> > > > > 401ms*
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > >> > > > > > > bind
> > > > > > > >> > > > > > > > INFO:
> > > > > > Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > > > > > > >> -->
> > > > > > > >> > > > > > > >
> > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > >> > > > > > > bind
> > > > > > > >> > > > > > > > INFO:
> Jndi(name=TestManagementServiceLocalBean)
> > > -->
> > > > > > > >> > > > > > > > Ejb(deployment-id=TestManagementService)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > >> > > > > > > bind
> > > > > > > >> > > > > > > > INFO:
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > >> > > > > > > bind
> > > > > > > >> > > > > > > > INFO:
> > > > > > > >> > > > > >
> > > > > > > >>
> > > > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.cdi.CdiBuilder
> > > > > > build
> > > > > > > >> > > > > > > > INFO: existing thread singleton service in
> > > > > > SystemInstance()
> > > > > > > >> > > > > > > >
> > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > >> > > > > > > > startApplication
> > > > > > > >> > > > > > > > INFO: OpenWebBeans Container is starting...
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > >> > > > startUp
> > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > > >> > > > startUp
> > > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > > > > [OpenWebBeansJsfPlugin]
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.apache.openejb.cdi.BeansDeployer
> > > > > > > >> > > > > > > > validateInjectionPoints
> > > > > > > >> > > > > > > > INFO: All injection points were validated
> > > > > successfully.
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > >> > > > > > > > startApplication
> > > > > > > >> > > > > > > > INFO: OpenWebBeans Container has started, it
> > took
> > > > [15]
> > > > > > ms.
> > > > > > > >> > > > > > > > using context file
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > >> > > > > > > > createApplication
> > > > > > > >> > > > > > > > INFO: Created
> > > > Ejb(deployment-id=TestManagementService,
> > > > > > > >> > > > > > > > ejb-name=TestManagementService, container=My
> > > > Singleton
> > > > > > > >> > Container)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > >> > > > > > > > createApplication
> > > > > > > >> > > > > > > > INFO: Started
> > > > Ejb(deployment-id=TestManagementService,
> > > > > > > >> > > > > > > > ejb-name=TestManagementService, container=My
> > > > Singleton
> > > > > > > >> > Container)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > >> > > > > > > > createApplication
> > > > > > > >> > > > > > > > INFO: Deployed
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > >> > > > > > > safeBind
> > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: Name
> > [openejb]
> > > > is
> > > > > > not
> > > > > > > >> bound
> > > > > > > >> > > in
> > > > > > > >> > > > > this
> > > > > > > >> > > > > > > > Context. Unable to find [openejb].
> > > > > > > >> > > > > > > > at
> > > > > > > >> >
> > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > > > >> > > > > > > > at
> > > > > > > >> >
> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > >
> > > > > > > >>
> > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > >
> > > > > > > >> > > >
> > > > > > > >>
> > > > > >
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> >
> > > > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> >
> > > > > >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> > >
> > > > > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > >
> > > > > >
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > >> > > > > > > > at
> > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > >> Method)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > >> > > > > > > > at
> > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> > >
> > > > > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > >> > > > > > > > at
> > > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > >> > > > > > > > at
> > > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > >
> > > > > > > >>
> > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > >> > > > > > > safeBind
> > > > > > > >> > > > > > > > INFO: TransactionManager already bound,
> ignoring
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > >> > > > > > > safeBind
> > > > > > > >> > > > > > > > INFO: TransactionSynchronizationRegistry
> already
> > > > > bound,
> > > > > > > >> > ignoring
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > >> > > > > > > safeBind
> > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No ORB
> > > > registered
> > > > > > with
> > > > > > > >> the
> > > > > > > >> > > > > OpenEJB
> > > > > > > >> > > > > > > > system
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > >
> > > > > > > >>
> > > > > >
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > >> > > > > > > > at
> > > > > > > >> >
> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > >> > > > > > > > at
> > > > > > > >> >
> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > >
> > > > > > > >>
> > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > >
> > > > > > > >> > > >
> > > > > > > >>
> > > > > >
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> >
> > > > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> >
> > > > > >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> > >
> > > > > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > >
> > > > > >
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > >> > > > > > > > at
> > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > >> Method)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > >> > > > > > > > at
> > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> > >
> > > > > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > >> > > > > > > > at
> > > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > >> > > > > > > > at
> > > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > >
> > > > > > > >>
> > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > >> > > > > > > safeBind
> > > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No
> > > > HandleDelegate
> > > > > > > >> > registered
> > > > > > > >> > > > with
> > > > > > > >> > > > > > the
> > > > > > > >> > > > > > > > OpenEJB system
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > >
> > > > > > > >>
> > > > > >
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > >> > > > > > > > at
> > > > > > > >> >
> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > >> > > > > > > > at
> > > > > > > >> >
> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > >
> > > > > > > >>
> > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > >
> > > > > > > >> > > >
> > > > > > > >>
> > > > > >
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> >
> > > > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> >
> > > > > >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> > >
> > > > > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > >
> > > > > >
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > >> > > > > > > > at
> > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > >> Method)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > >> > > > > > > > at
> > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > >
> > > > > > > >> > >
> > > > > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > >> > > > > > > > at
> > > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > >> > > > > > > > at
> > > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > >
> > > > > > > >>
> > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > >> > > > > > > > at
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > org.apache.cxf.endpoint.ServerImpl
> > > > > > > >> > > > > initDestination
> > > > > > > >> > > > > > > > INFO: Setting the server's publish address to
> be
> > > > > > > >> > > > > > > >
> http://localhost:8080/tomee-jee6-module/webapi
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > >> > > > > > deployEJB
> > > > > > > >> > > > > > > > INFO: REST Service:
> > > > > > > >> > > > > > > >
> > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> > > > > > EJB
> > > > > > > >> > > > > > > > TestManagementService
> > > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > > >> > > > > > > > afterApplicationCreated
> > > > > > > >> > > > > > > > INFO: REST application deployed:
> > > > > > > >> > > > > > > >
> com.shenick.diversifeye.config.ApplicationConfig
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > Here is my persistence Unit:
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > <persistence version="2.0" xmlns="
> > > > > > > >> > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > >> > > > > > > "
> > > > > > > >> > > > > > > > xmlns:xsi="
> > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > > > >> > > > > > > xsi:schemaLocation="
> > > > > > > >> > > > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > >> > > > > > > >
> > > > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > > > > > > >> ">
> > > > > > > >> > > > > > > > <persistence-unit
> > name="JerseyRestfulWebServicePU"
> > > > > > > >> > > > > > > transaction-type="JTA">
> > > > > > > >> > > > > > > >
> > > > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > > > >> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
> > > > > > > >> > > > > > > >
> > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > > > >> > > > > > > >
> > > > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > > > >> > > > > > > > <properties>
> > > > > > > >> > > > > > > > <property name="hibernate.dialect"
> > > > > > > >> > > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > > > >> > > > > > > > <property name="hibernate.hbm2ddl.auto"
> > > > > value="update"/>
> > > > > > > >> > > > > > > > </properties>
> > > > > > > >> > > > > > > > </persistence-unit>
> > > > > > > >> > > > > > > > </persistence>
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > I have a context.xml and openejb.xml specified
> > in
> > > > the
> > > > > > > >> META-INF
> > > > > > > >> > > > folder
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > openejb.xml:
> > > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > >> > > > > > > > <openejb>
> > > > > > > >> > > > > > > > <Resource id="derbyDb" type="DataSource">
> > > > > > > >> > > > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > > >> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > >> > > > > > > > UserName app
> > > > > > > >> > > > > > > > Password app
> > > > > > > >> > > > > > > > JtaManaged true
> > > > > > > >> > > > > > > > </Resource>
> > > > > > > >> > > > > > > > </openejb>
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > and context.xml:
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > >> > > > > > > > <Context antiJARLocking="true"
> > > > > > path="/tomee-jee6-module"/>
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > I also have the resource referenced in the
> > web.xml
> > > > > file:
> > > > > > > >> > > > > > > > <web-app version="3.0" xmlns="
> > > > > > > >> > http://java.sun.com/xml/ns/javaee"
> > > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > > >> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > > > >> > xsi:schemaLocation="
> > > > > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > > > > > >> > > > > > > >
> > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
> > > ">
> > > > > > > >> > > > > > > > <session-config>
> > > > > > > >> > > > > > > > <session-timeout>
> > > > > > > >> > > > > > > > 30
> > > > > > > >> > > > > > > > </session-timeout>
> > > > > > > >> > > > > > > >   </session-config>
> > > > > > > >> > > > > > > > <resource-ref>
> > > > > > > >> > > > > > > > <description>
> > > > > > > >> > > > > > > > Object factory for MyBean instances.
> > > > > > > >> > > > > > > > </description>
> > > > > > > >> > > > > > > > <res-ref-name>
> > > > > > > >> > > > > > > > derbyDb
> > > > > > > >> > > > > > > > </res-ref-name>
> > > > > > > >> > > > > > > > <res-type>
> > > > > > > >> > > > > > > > javax.sql.DataSource
> > > > > > > >> > > > > > > > </res-type>
> > > > > > > >> > > > > > > > <res-auth>
> > > > > > > >> > > > > > > > Container
> > > > > > > >> > > > > > > > </res-auth>
> > > > > > > >> > > > > > > >   </resource-ref>
> > > > > > > >> > > > > > > > </web-app>
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > What am I doing wrong, or is it not possible
> to
> > > > > define a
> > > > > > > >> > > datasource
> > > > > > > >> > > > > at
> > > > > > > >> > > > > > a
> > > > > > > >> > > > > > > > project level, and it should only be
> referenced
> > in
> > > > the
> > > > > > > >> > tommee.xml
> > > > > > > >> > > > > file?
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > Thanks in advance
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > > > John McDonnell
> > > > > > > >> > > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > --
> > > > > > > >> > > > > > John
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > --
> > > > > > > >> > > > John
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > --
> > > > > > > >> > John
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > John
> > > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > John
> > > >
> > >
> >
> >
> >
> > --
> > John
> >
>



-- 
John

Re: Project specific database

Posted by Romain Manni-Bucau <rm...@gmail.com>.
hmm, i'm pretty sure resources.xml works (in WEB-INF/classes/META-INF)
since it uses the same code

- Romain


2012/7/6 John McDonnell <mc...@gmail.com>

> Sorry, yes defining the resource in the tomee.xml file works for me.
>
> Although I was initially looking at seeing if it was possible to provide
> the database details within a project, like you can in Glassfish using the
> glassfish-resource.xml file.  I've given up and just continued on
> converting our simple Glassfish project into a TomEE project by defining
> the database resource in the tomee.xml file.
>
> John
>
> On 6 July 2012 10:23, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> > using in tomee.xml:
> >
> > <tomee>
> >   <Resource id="jdbc/blog" type="DataSource">
> >     JdbcDriver org.apache.derby.jdbc.ClientDriver
> >     JdbcUrl jdbc:derby://localhost:1527/sample
> >     UserName app
> >     Password app
> >     JtaManaged true
> >   </Resource>
> > </tomee>
> >
> > with in persistence.xml <jta-data-source>jdbc/blog</jta-data-source>
> >
> > works for me.
> >
> > any details on your installation?
> >
> > i used the tomee maven plugin to add derby jars to the container
> >
> >
> > - Romain
> >
> >
> > 2012/7/6 John McDonnell <mc...@gmail.com>
> >
> > > Okay, firstly apologies for the last email...
> > >
> > >
> > > I tried calling the xml file resources.xml, and its in the META-INF
> > folder,
> > > and it is still not working.
> > >
> > > The Derby Jar is also in the tomee/lib/ directory along with the
> > hibernate
> > > jar as well, but when every I try to deploy the application I still get
> > > connected to the HSQL database.
> > >
> > > John
> > >
> > >
> > >
> > > On 5 July 2012 00:26, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
> > >
> > > > not sure i understood correctly,
> > > >
> > > > typically tomee.xml is in conf/
> > > >
> > > > resources.xml is in META-INF like
> > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml
> > > >
> > > > the resources.xml uses the webapp classloader where tomee.xml creates
> > > > resources before any application deployment
> > > >
> > > > - Romain
> > > >
> > > >
> > > > 2012/7/5 John McDonnell <mc...@gmail.com>
> > > >
> > > > > Sorry but I am just home from a night out ....  I have tried
> calling
> > > the
> > > > > xml file openejb.xml tomee.xml and before I posted on this mailing
> > > list I
> > > > > have also tried calling the config file resources.xml and neither
> of
> > > > those
> > > > > three options worked.
> > > > >
> > > > > Is the contents of each file correct? If so this is either a bug
> or a
> > > > > limitation of ur project and so I should go back to defining the
> > > > > datatsource in the servers tomee.xml file which seems over the top
> > > > >
> > > > > John
> > > > > On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <
> rmannibucau@gmail.com>
> > > > > wrote:
> > > > > >
> > > > > > you didnt add derby in tomee.xml?
> > > > > >
> > > > > > if you want to deliver derby in your webapp use
> > > META-INF/resources.xml
> > > > > > instead of tomee.xml.
> > > > > >
> > > > > > Note: using apache maven snapshot repository you can add to your
> > pom
> > > > > (think
> > > > > > to rename your final to be the context name):
> > > > > >
> > > > > > <plugin>
> > > > > >             <groupId>org.apache.openejb.maven</groupId>
> > > > > >             <artifactId>tomee-maven-plugin</artifactId>
> > > > > >             <version>1.0.0-SNAPSHOT</version>
> > > > > >             <configuration>
> > > > > >               <tomeeClassifier>jaxrs</tomeeClassifier>
> > > > > >               <libs>
> > > > > >                 <lib>dom4j:dom4j:1.6.1</lib>
> > > > > >                 <lib>antlr:antlr:2.7.6</lib>
> > > > > >                 <lib>cglib:cglib:2.1_3</lib>
> > > > > >                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> > > > > >                 <lib>org.hibernate:hibernate:3.2.5.ga</lib>
> > > > > >
> > > > <lib>commons-collections:commons-collections:2.1.1</lib>
> > > > > >                 <lib>org.hibernate:hibernate-entitymanager:
> > 3.3.2.GA
> > > > > </lib>
> > > > > >                 <lib>org.hibernate:hibernate-annotations:
> 3.3.1.GA
> > > > </lib>
> > > > > >                 <lib>org.hibernate:hibernate-commons-annotations:
> > > > > 3.0.0.ga
> > > > > > </lib>
> > > > > >                 <lib>org.hibernate:ejb3-persistence:1.0.1.GA
> </lib>
> > > > <!--
> > > > > > derby and so on can be added the same way -->
> > > > > >               </libs>
> > > > > >             </configuration>
> > > > > >           </plugin>
> > > > > >
> > > > > > - Romain
> > > > > >
> > > > > >
> > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > >
> > > > > > > Okay,
> > > > > > >
> > > > > > > I have zipped up the maven project which contains the 2
> modules.
> > >  The
> > > > > core
> > > > > > > module is just a simple library which is used by the TomEE
> > Restful
> > > > JEE6
> > > > > > > Module.
> > > > > > >
> > > > > > >
> > > > > > > I have the following Jars in the tomee/lib/ dir:
> > > > > > >
> > > > > > > cglib 2.1_3
> > > > > > > hibernate 3.2.5.GA
> > > > > > > hibernate-annotations 3.3.1.GA
> > > > > > > hibernate-commons-annotations 3.3.1.GA
> > > > > > > dom4j 1.6.1
> > > > > > > asm 1.5.3
> > > > > > > asm-attr 1.5.3
> > > > > > >
> > > > > > >
> > > > > > > and I have editted line 294 of catalina.bat to set the
> > > > > > > javax.persistence.provider property:
> > > > > > > set
> > > > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > > > > > >
> > > > > > >
> > > > > > > Hope this helps!
> > > > > > >
> > > > > > >
> > > > > > > John McDonnell
> > > > > > >
> > > > > > >
> > > > > > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <je...@gmail.com>
> > > > wrote:
> > > > > > >
> > > > > > >> Any chance, you could share a simple example to reproduce the
> > > issue?
> > > > > > >> That'd be easier to work on maybe.
> > > > > > >>
> > > > > > >> Jean-Louis
> > > > > > >>
> > > > > > >> 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > >>
> > > > > > >> > I renamed the openejb.xml file to tomee.xml (its still in
> the
> > > > > META-INF
> > > > > > >> > folder) and it looks like this now:
> > > > > > >> >
> > > > > > >> > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > >> > <tomee>
> > > > > > >> > <Resource id="derbyDb" type="DataSource">
> > > > > > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > >> > UserName app
> > > > > > >> > Password app
> > > > > > >> > JtaManaged true
> > > > > > >> > </Resource>
> > > > > > >> > </tomee>
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > No joy again as the application is still using the HSQL
> > database
> > > > as
> > > > > > >> opposed
> > > > > > >> > to the Derby one.
> > > > > > >> >
> > > > > > >> > Any other suggestions?
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > John
> > > > > > >> >
> > > > > > >> > On 4 July 2012 15:12, Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > > >
> > > > > wrote:
> > > > > > >> >
> > > > > > >> > > hmm, try tomee.xml instead of openejb.xml
> > > > > > >> > >
> > > > > > >> > > - Romain
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > >> > >
> > > > > > >> > > > I have downloaded the the snapshot of 1.1.0 and deployed
> > the
> > > > > > >> > application,
> > > > > > >> > > > but no luck.
> > > > > > >> > > >
> > > > > > >> > > > when deploying the application, the application still
> uses
> > > > HSQL
> > > > > for
> > > > > > >> the
> > > > > > >> > > > database, and not the defined Derby database.  Is there
> a
> > > > > problem
> > > > > > >> with
> > > > > > >> > my
> > > > > > >> > > > configuration? (context.xml/openejb.xml/web.xml)
> > > > > > >> > > >
> > > > > > >> > > > John
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <
> > > > rmannibucau@gmail.com
> > > > > >
> > > > > > >> > wrote:
> > > > > > >> > > >
> > > > > > >> > > > > yep that's the same way netbeans deploys
> > > > > > >> > > > >
> > > > > > >> > > > > - Romain
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > >> > > > >
> > > > > > >> > > > > > Hey, thanks for the fast reply...
> > > > > > >> > > > > >
> > > > > > >> > > > > > I dont use netbeans for deploying, I use to to build
> > the
> > > > > maven
> > > > > > >> > > project,
> > > > > > >> > > > > and
> > > > > > >> > > > > > then I use the management web app "/manager" to
> > deploy.
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > I'll get the snapshot anyways and try that out.
> > > > > > >> > > > > >
> > > > > > >> > > > > > John
> > > > > > >> > > > > >
> > > > > > >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
> > > > > rmannibucau@gmail.com
> > > > > > >> >
> > > > > > >> > > > wrote:
> > > > > > >> > > > > >
> > > > > > >> > > > > > > Hi,
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > do you use netbeans to deploy?
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > maybe try out our snapshot since we fixed some
> > issues
> > > > > > >> regarding
> > > > > > >> > the
> > > > > > >> > > > way
> > > > > > >> > > > > > > netbeans deploys.
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > Side note: it is tomee.xml not tommee.xml
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > - Romain
> > > > > > >> > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > 2012/7/4 John McDonnell <mcdonnell.john@gmail.com
> >
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > > I recently started looking to convert an JEE6
> > > > > application
> > > > > > >> > working
> > > > > > >> > > > in
> > > > > > >> > > > > > > > Glassfish application server to using TomEE+ 1.0
> > > and I
> > > > > am
> > > > > > >> > having
> > > > > > >> > > an
> > > > > > >> > > > > > issue
> > > > > > >> > > > > > > > with setting up the database.
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > If I define the Resource in the tomee.xml file
> in
> > > the
> > > > > > >> > > > tomeeDir/conf/
> > > > > > >> > > > > > > > directory I am able to use the database I
> specify,
> > > > which
> > > > > is
> > > > > > >> a
> > > > > > >> > > Derby
> > > > > > >> > > > > > > > database, but I want to be able to define the
> > > database
> > > > > to be
> > > > > > >> > > > project
> > > > > > >> > > > > > > > specific, like I was able to do in Glassfish.
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > What happens at the moment when I deploy the
> > > > application
> > > > > I
> > > > > > >> > notice
> > > > > > >> > > > in
> > > > > > >> > > > > > the
> > > > > > >> > > > > > > > logs that TomEE adjusts the PU defined to use
> the
> > > > > Default
> > > > > > >> JDBC
> > > > > > >> > > > > > Database,
> > > > > > >> > > > > > > > which was created, as I have removed the
> > > definitition
> > > > of
> > > > > it
> > > > > > >> > from
> > > > > > >> > > > the
> > > > > > >> > > > > > > > tomee.xml file.
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > Here is the logs when deploying my project:
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > org.apache.catalina.startup.HostConfig
> > > > > > >> > > > deployWAR
> > > > > > >> > > > > > > > INFO: Deploying web application archive
> > > > > > >> > > > > > > >
> > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > > >> org.apache.openejb.config.DeploymentLoader
> > > > > > >> > > > > > > > addFacesConfigs
> > > > > > >> > > > > > > > INFO: faces config file is null
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > org.apache.openejb.config.ConfigurationFactory
> > > > > > >> > > > > > > > configureApplication
> > > > > > >> > > > > > > > INFO: Configuring enterprise application:
> > > > > > >> > > > > > > >
> > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > >> > > > > > deploy
> > > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > > localhost/tomee-jee6-module.Comp:
> > > > > > >> > > > > > > >
> > > > > > >> EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > > >> > > > > > deploy
> > > > > > >> > > > > > > > INFO: Auto-deploying ejb TestManagementService:
> > > > > > >> > > > > > > >
> EjbDeployment(deployment-id=TestManagementService)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.apache.openejb.config.AutoConfig
> > > > > > >> > deploy
> > > > > > >> > > > > > > > INFO: *Configuring
> > > > > > >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.apache.openejb.config.AutoConfig
> > > > > > >> > > > > > > setJtaDataSource
> > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > JerseyRestfulWebServicePU
> > > > > > >> > > > > > > <jta-data-source>
> > > > > > >> > > > > > > > to Resource ID 'Default JDBC Database' from
> > > 'derbyDb'
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.apache.openejb.config.AutoConfig
> > > > > > >> > > > > > > > setNonJtaDataSource
> > > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > > JerseyRestfulWebServicePU
> > > > > > >> > > > > > > > <non-jta-data-source> to Resource ID 'Default
> JDBC
> > > > > > >> > > DatabaseNonJta'
> > > > > > >> > > > > from
> > > > > > >> > > > > > > > 'null'*
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> org.apache.openejb.config.AppInfoBuilder
> > > > > > >> > > build
> > > > > > >> > > > > > > > INFO: Enterprise application
> > > > > > >> > > > > > > >
> > > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > > > > >> > > loaded.
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > >> > > > > > > > createApplication
> > > > > > >> > > > > > > > INFO: Assembling app:
> > > > > > >> > > > > > > >
> > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > >> > > > > > > > parseValidationXml
> > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > > >> > > > > > > > parseValidationXml
> > > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.ejb.Ejb3Configuration
> > > > > > >> > > configure
> > > > > > >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > > > > > >> > > > > > > > name: JerseyRestfulWebServicePU
> > > > > > >> > > > > > > > ...]
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.cfg.AnnotationBinder
> > > > > > >> > bindClass
> > > > > > >> > > > > > > > INFO: Binding entity from annotated class:
> > > > > > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> org.hibernate.cfg.annotations.EntityBinder
> > > > > > >> > > > > > bindTable
> > > > > > >> > > > > > > > INFO: Bind entity
> > > com.shenick.diversifeye.domain.Host
> > > > on
> > > > > > >> table
> > > > > > >> > > Host
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> org.hibernate.cfg.AnnotationConfiguration
> > > > > > >> > > > > > > > secondPassCompile
> > > > > > >> > > > > > > > INFO: Hibernate Validator not found: ignoring
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > > > org.hibernate.connection.ConnectionProviderFactory
> > > > > > >> > > > > > > > newConnectionProvider
> > > > > > >> > > > > > > > INFO: Initializing connection provider:
> > > > > > >> > > > > > > >
> > > > > > >> >
> > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > > > > > >
> > > > > > >> >
> > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > >> > > > > > > configure
> > > > > > >> > > > > > > > INFO: Using provided datasource
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine, version:
> > 2.2.4*
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: JDBC driver: HSQL Database Engine Driver,
> > > > version:
> > > > > > >> 2.2.4
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Automatic flush during beforeCompletion():
> > > > > disabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Automatic session close at end of
> > transaction:
> > > > > > >> disabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Scrollable result sets: enabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Connection release mode: auto
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Default batch fetch size: 1
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Generate SQL with comments: disabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Order SQL updates by primary key: disabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Order SQL inserts for batching: disabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > > > > > createQueryTranslatorFactory
> > > > > > >> > > > > > > > INFO: Query translator:
> > > > > > >> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Query language substitutions: {}
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: JPA-QL strict compliance: enabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Second-level cache: enabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Query cache: disabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > > > > createCacheProvider
> > > > > > >> > > > > > > > INFO: Cache provider:
> > > > > org.hibernate.cache.NoCacheProvider
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Optimize cache for minimal puts: disabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Structured second-level cache entries:
> > > disabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Statistics: disabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Deleted entity synthetic identifier
> > rollback:
> > > > > disabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Default entity-mode: pojo
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.SettingsFactory
> > > > > > >> > > > buildSettings
> > > > > > >> > > > > > > > INFO: Named query checking : enabled
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > > > > > >
> > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > > >> > > > > > > > createEntityManagerFactory
> > > > > > >> > > > > > > > INFO:
> > > *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > >> > > > > > > >
> provider=org.hibernate.ejb.HibernatePersistence) -
> > > > > provider
> > > > > > >> > time
> > > > > > >> > > > > 401ms*
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > >> > > > > > > bind
> > > > > > >> > > > > > > > INFO:
> > > > > Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > > > > > >> -->
> > > > > > >> > > > > > > >
> > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > >> > > > > > > bind
> > > > > > >> > > > > > > > INFO: Jndi(name=TestManagementServiceLocalBean)
> > -->
> > > > > > >> > > > > > > > Ejb(deployment-id=TestManagementService)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > >> > > > > > > bind
> > > > > > >> > > > > > > > INFO:
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > >> > > > > > > bind
> > > > > > >> > > > > > > > INFO:
> > > > > > >> > > > > >
> > > > > > >>
> > > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.cdi.CdiBuilder
> > > > > build
> > > > > > >> > > > > > > > INFO: existing thread singleton service in
> > > > > SystemInstance()
> > > > > > >> > > > > > > >
> > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > >> > > > > > > > startApplication
> > > > > > >> > > > > > > > INFO: OpenWebBeans Container is starting...
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > >> > > > startUp
> > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > > >> > > > startUp
> > > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > > > [OpenWebBeansJsfPlugin]
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.apache.openejb.cdi.BeansDeployer
> > > > > > >> > > > > > > > validateInjectionPoints
> > > > > > >> > > > > > > > INFO: All injection points were validated
> > > > successfully.
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > >> > > > > > > > startApplication
> > > > > > >> > > > > > > > INFO: OpenWebBeans Container has started, it
> took
> > > [15]
> > > > > ms.
> > > > > > >> > > > > > > > using context file
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > >> > > > > > > > createApplication
> > > > > > >> > > > > > > > INFO: Created
> > > Ejb(deployment-id=TestManagementService,
> > > > > > >> > > > > > > > ejb-name=TestManagementService, container=My
> > > Singleton
> > > > > > >> > Container)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > >> > > > > > > > createApplication
> > > > > > >> > > > > > > > INFO: Started
> > > Ejb(deployment-id=TestManagementService,
> > > > > > >> > > > > > > > ejb-name=TestManagementService, container=My
> > > Singleton
> > > > > > >> > Container)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > >> > > > > > > > createApplication
> > > > > > >> > > > > > > > INFO: Deployed
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > >> > > > > > > safeBind
> > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > >> > > > > > > > javax.naming.NameNotFoundException: Name
> [openejb]
> > > is
> > > > > not
> > > > > > >> bound
> > > > > > >> > > in
> > > > > > >> > > > > this
> > > > > > >> > > > > > > > Context. Unable to find [openejb].
> > > > > > >> > > > > > > > at
> > > > > > >> >
> org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > > >> > > > > > > > at
> > > > > > >> >
> org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > >
> > > > > > >>
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > >
> > > > > > >> > > >
> > > > > > >>
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> >
> > > > >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> >
> > > > >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> > >
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > >> > > > > > > > at
> > > > > > >> > > >
> > > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > >> > > > > > > > at
> > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > >> Method)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > >> > > > > > > > at
> > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> > >
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > >> > > > > > > > at
> > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > >> > > > > > > > at
> > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > >
> > > > > > >>
> > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > >> > > > > > > safeBind
> > > > > > >> > > > > > > > INFO: TransactionManager already bound, ignoring
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > >> > > > > > > safeBind
> > > > > > >> > > > > > > > INFO: TransactionSynchronizationRegistry already
> > > > bound,
> > > > > > >> > ignoring
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > >> > > > > > > safeBind
> > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No ORB
> > > registered
> > > > > with
> > > > > > >> the
> > > > > > >> > > > > OpenEJB
> > > > > > >> > > > > > > > system
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > >
> > > > > > >> > > > >
> > > > > > >> > >
> > > > > > >>
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > >> > > > > > > > at
> > > > > > >> >
> org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > >> > > > > > > > at
> > > > > > >> >
> org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > >
> > > > > > >>
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > >
> > > > > > >> > > >
> > > > > > >>
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> >
> > > > >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> >
> > > > >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> > >
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > >> > > > > > > > at
> > > > > > >> > > >
> > > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > >> > > > > > > > at
> > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > >> Method)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > >> > > > > > > > at
> > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> > >
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > >> > > > > > > > at
> > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > >> > > > > > > > at
> > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > >
> > > > > > >>
> > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > >> > > > > > > safeBind
> > > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > > >> > > > > > > > javax.naming.NameNotFoundException: No
> > > HandleDelegate
> > > > > > >> > registered
> > > > > > >> > > > with
> > > > > > >> > > > > > the
> > > > > > >> > > > > > > > OpenEJB system
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > >
> > > > > > >> > > > >
> > > > > > >> > >
> > > > > > >>
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > >> > > > > > > > at
> > > > > > >> >
> org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > >> > > > > > > > at
> > > > > > >> >
> org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > >
> > > > > > >>
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > >
> > > > > > >> > > >
> > > > > > >>
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> >
> > > > >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> >
> > > > >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> > >
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > >> > > > > > > > at
> > > > > > >> > > >
> > > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > >> > > > > > > > at
> > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > >> Method)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > >> > > > > > > > at
> > java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > >
> > > > > > >> > >
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > >> > > > > > > > at
> > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > >> > > > > > > > at
> > > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > >
> > > > > > >>
> > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > >> > > > > > > > at
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > org.apache.cxf.endpoint.ServerImpl
> > > > > > >> > > > > initDestination
> > > > > > >> > > > > > > > INFO: Setting the server's publish address to be
> > > > > > >> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > >> > > > > > deployEJB
> > > > > > >> > > > > > > > INFO: REST Service:
> > > > > > >> > > > > > > >
> > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> > > > > EJB
> > > > > > >> > > > > > > > TestManagementService
> > > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > > >> > > > > > > > afterApplicationCreated
> > > > > > >> > > > > > > > INFO: REST application deployed:
> > > > > > >> > > > > > > > com.shenick.diversifeye.config.ApplicationConfig
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > Here is my persistence Unit:
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > <persistence version="2.0" xmlns="
> > > > > > >> > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > >> > > > > > > "
> > > > > > >> > > > > > > > xmlns:xsi="
> > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > > >> > > > > > > xsi:schemaLocation="
> > > > > > >> > > > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > >> > > > > > > >
> > > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > > > > > >> ">
> > > > > > >> > > > > > > > <persistence-unit
> name="JerseyRestfulWebServicePU"
> > > > > > >> > > > > > > transaction-type="JTA">
> > > > > > >> > > > > > > >
> > > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > > >> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
> > > > > > >> > > > > > > >
> <class>com.shenick.diversifeye.domain.Host</class>
> > > > > > >> > > > > > > >
> > > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > > >> > > > > > > > <properties>
> > > > > > >> > > > > > > > <property name="hibernate.dialect"
> > > > > > >> > > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > > >> > > > > > > > <property name="hibernate.hbm2ddl.auto"
> > > > value="update"/>
> > > > > > >> > > > > > > > </properties>
> > > > > > >> > > > > > > > </persistence-unit>
> > > > > > >> > > > > > > > </persistence>
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > I have a context.xml and openejb.xml specified
> in
> > > the
> > > > > > >> META-INF
> > > > > > >> > > > folder
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > openejb.xml:
> > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > >> > > > > > > > <openejb>
> > > > > > >> > > > > > > > <Resource id="derbyDb" type="DataSource">
> > > > > > >> > > > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > >> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > >> > > > > > > > UserName app
> > > > > > >> > > > > > > > Password app
> > > > > > >> > > > > > > > JtaManaged true
> > > > > > >> > > > > > > > </Resource>
> > > > > > >> > > > > > > > </openejb>
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > and context.xml:
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > >> > > > > > > > <Context antiJARLocking="true"
> > > > > path="/tomee-jee6-module"/>
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > I also have the resource referenced in the
> web.xml
> > > > file:
> > > > > > >> > > > > > > > <web-app version="3.0" xmlns="
> > > > > > >> > http://java.sun.com/xml/ns/javaee"
> > > > > > >> > > > > > > > xmlns:xsi="
> > > > > > >> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > > >> > xsi:schemaLocation="
> > > > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > > > > >> > > > > > > >
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
> > ">
> > > > > > >> > > > > > > > <session-config>
> > > > > > >> > > > > > > > <session-timeout>
> > > > > > >> > > > > > > > 30
> > > > > > >> > > > > > > > </session-timeout>
> > > > > > >> > > > > > > >   </session-config>
> > > > > > >> > > > > > > > <resource-ref>
> > > > > > >> > > > > > > > <description>
> > > > > > >> > > > > > > > Object factory for MyBean instances.
> > > > > > >> > > > > > > > </description>
> > > > > > >> > > > > > > > <res-ref-name>
> > > > > > >> > > > > > > > derbyDb
> > > > > > >> > > > > > > > </res-ref-name>
> > > > > > >> > > > > > > > <res-type>
> > > > > > >> > > > > > > > javax.sql.DataSource
> > > > > > >> > > > > > > > </res-type>
> > > > > > >> > > > > > > > <res-auth>
> > > > > > >> > > > > > > > Container
> > > > > > >> > > > > > > > </res-auth>
> > > > > > >> > > > > > > >   </resource-ref>
> > > > > > >> > > > > > > > </web-app>
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > What am I doing wrong, or is it not possible to
> > > > define a
> > > > > > >> > > datasource
> > > > > > >> > > > > at
> > > > > > >> > > > > > a
> > > > > > >> > > > > > > > project level, and it should only be referenced
> in
> > > the
> > > > > > >> > tommee.xml
> > > > > > >> > > > > file?
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > Thanks in advance
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > John McDonnell
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > --
> > > > > > >> > > > > > John
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > --
> > > > > > >> > > > John
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > --
> > > > > > >> > John
> > > > > > >> >
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > John
> > > > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > John
> > >
> >
>
>
>
> --
> John
>

Re: Project specific database

Posted by John McDonnell <mc...@gmail.com>.
Sorry, yes defining the resource in the tomee.xml file works for me.

Although I was initially looking at seeing if it was possible to provide
the database details within a project, like you can in Glassfish using the
glassfish-resource.xml file.  I've given up and just continued on
converting our simple Glassfish project into a TomEE project by defining
the database resource in the tomee.xml file.

John

On 6 July 2012 10:23, Romain Manni-Bucau <rm...@gmail.com> wrote:

> using in tomee.xml:
>
> <tomee>
>   <Resource id="jdbc/blog" type="DataSource">
>     JdbcDriver org.apache.derby.jdbc.ClientDriver
>     JdbcUrl jdbc:derby://localhost:1527/sample
>     UserName app
>     Password app
>     JtaManaged true
>   </Resource>
> </tomee>
>
> with in persistence.xml <jta-data-source>jdbc/blog</jta-data-source>
>
> works for me.
>
> any details on your installation?
>
> i used the tomee maven plugin to add derby jars to the container
>
>
> - Romain
>
>
> 2012/7/6 John McDonnell <mc...@gmail.com>
>
> > Okay, firstly apologies for the last email...
> >
> >
> > I tried calling the xml file resources.xml, and its in the META-INF
> folder,
> > and it is still not working.
> >
> > The Derby Jar is also in the tomee/lib/ directory along with the
> hibernate
> > jar as well, but when every I try to deploy the application I still get
> > connected to the HSQL database.
> >
> > John
> >
> >
> >
> > On 5 July 2012 00:26, Romain Manni-Bucau <rm...@gmail.com> wrote:
> >
> > > not sure i understood correctly,
> > >
> > > typically tomee.xml is in conf/
> > >
> > > resources.xml is in META-INF like
> > >
> > >
> >
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml
> > >
> > > the resources.xml uses the webapp classloader where tomee.xml creates
> > > resources before any application deployment
> > >
> > > - Romain
> > >
> > >
> > > 2012/7/5 John McDonnell <mc...@gmail.com>
> > >
> > > > Sorry but I am just home from a night out ....  I have tried calling
> > the
> > > > xml file openejb.xml tomee.xml and before I posted on this mailing
> > list I
> > > > have also tried calling the config file resources.xml and neither of
> > > those
> > > > three options worked.
> > > >
> > > > Is the contents of each file correct? If so this is either a bug or a
> > > > limitation of ur project and so I should go back to defining the
> > > > datatsource in the servers tomee.xml file which seems over the top
> > > >
> > > > John
> > > > On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <rm...@gmail.com>
> > > > wrote:
> > > > >
> > > > > you didnt add derby in tomee.xml?
> > > > >
> > > > > if you want to deliver derby in your webapp use
> > META-INF/resources.xml
> > > > > instead of tomee.xml.
> > > > >
> > > > > Note: using apache maven snapshot repository you can add to your
> pom
> > > > (think
> > > > > to rename your final to be the context name):
> > > > >
> > > > > <plugin>
> > > > >             <groupId>org.apache.openejb.maven</groupId>
> > > > >             <artifactId>tomee-maven-plugin</artifactId>
> > > > >             <version>1.0.0-SNAPSHOT</version>
> > > > >             <configuration>
> > > > >               <tomeeClassifier>jaxrs</tomeeClassifier>
> > > > >               <libs>
> > > > >                 <lib>dom4j:dom4j:1.6.1</lib>
> > > > >                 <lib>antlr:antlr:2.7.6</lib>
> > > > >                 <lib>cglib:cglib:2.1_3</lib>
> > > > >                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> > > > >                 <lib>org.hibernate:hibernate:3.2.5.ga</lib>
> > > > >
> > > <lib>commons-collections:commons-collections:2.1.1</lib>
> > > > >                 <lib>org.hibernate:hibernate-entitymanager:
> 3.3.2.GA
> > > > </lib>
> > > > >                 <lib>org.hibernate:hibernate-annotations:3.3.1.GA
> > > </lib>
> > > > >                 <lib>org.hibernate:hibernate-commons-annotations:
> > > > 3.0.0.ga
> > > > > </lib>
> > > > >                 <lib>org.hibernate:ejb3-persistence:1.0.1.GA</lib>
> > > <!--
> > > > > derby and so on can be added the same way -->
> > > > >               </libs>
> > > > >             </configuration>
> > > > >           </plugin>
> > > > >
> > > > > - Romain
> > > > >
> > > > >
> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > >
> > > > > > Okay,
> > > > > >
> > > > > > I have zipped up the maven project which contains the 2 modules.
> >  The
> > > > core
> > > > > > module is just a simple library which is used by the TomEE
> Restful
> > > JEE6
> > > > > > Module.
> > > > > >
> > > > > >
> > > > > > I have the following Jars in the tomee/lib/ dir:
> > > > > >
> > > > > > cglib 2.1_3
> > > > > > hibernate 3.2.5.GA
> > > > > > hibernate-annotations 3.3.1.GA
> > > > > > hibernate-commons-annotations 3.3.1.GA
> > > > > > dom4j 1.6.1
> > > > > > asm 1.5.3
> > > > > > asm-attr 1.5.3
> > > > > >
> > > > > >
> > > > > > and I have editted line 294 of catalina.bat to set the
> > > > > > javax.persistence.provider property:
> > > > > > set
> > > > > >
> > > >
> > > >
> > >
> >
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > > > > >
> > > > > >
> > > > > > Hope this helps!
> > > > > >
> > > > > >
> > > > > > John McDonnell
> > > > > >
> > > > > >
> > > > > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <je...@gmail.com>
> > > wrote:
> > > > > >
> > > > > >> Any chance, you could share a simple example to reproduce the
> > issue?
> > > > > >> That'd be easier to work on maybe.
> > > > > >>
> > > > > >> Jean-Louis
> > > > > >>
> > > > > >> 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > >>
> > > > > >> > I renamed the openejb.xml file to tomee.xml (its still in the
> > > > META-INF
> > > > > >> > folder) and it looks like this now:
> > > > > >> >
> > > > > >> > <?xml version="1.0" encoding="UTF-8"?>
> > > > > >> > <tomee>
> > > > > >> > <Resource id="derbyDb" type="DataSource">
> > > > > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > >> > UserName app
> > > > > >> > Password app
> > > > > >> > JtaManaged true
> > > > > >> > </Resource>
> > > > > >> > </tomee>
> > > > > >> >
> > > > > >> >
> > > > > >> > No joy again as the application is still using the HSQL
> database
> > > as
> > > > > >> opposed
> > > > > >> > to the Derby one.
> > > > > >> >
> > > > > >> > Any other suggestions?
> > > > > >> >
> > > > > >> >
> > > > > >> > John
> > > > > >> >
> > > > > >> > On 4 July 2012 15:12, Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >
> > > > wrote:
> > > > > >> >
> > > > > >> > > hmm, try tomee.xml instead of openejb.xml
> > > > > >> > >
> > > > > >> > > - Romain
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > >> > >
> > > > > >> > > > I have downloaded the the snapshot of 1.1.0 and deployed
> the
> > > > > >> > application,
> > > > > >> > > > but no luck.
> > > > > >> > > >
> > > > > >> > > > when deploying the application, the application still uses
> > > HSQL
> > > > for
> > > > > >> the
> > > > > >> > > > database, and not the defined Derby database.  Is there a
> > > > problem
> > > > > >> with
> > > > > >> > my
> > > > > >> > > > configuration? (context.xml/openejb.xml/web.xml)
> > > > > >> > > >
> > > > > >> > > > John
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > > >
> > > > > >> > wrote:
> > > > > >> > > >
> > > > > >> > > > > yep that's the same way netbeans deploys
> > > > > >> > > > >
> > > > > >> > > > > - Romain
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > >> > > > >
> > > > > >> > > > > > Hey, thanks for the fast reply...
> > > > > >> > > > > >
> > > > > >> > > > > > I dont use netbeans for deploying, I use to to build
> the
> > > > maven
> > > > > >> > > project,
> > > > > >> > > > > and
> > > > > >> > > > > > then I use the management web app "/manager" to
> deploy.
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > I'll get the snapshot anyways and try that out.
> > > > > >> > > > > >
> > > > > >> > > > > > John
> > > > > >> > > > > >
> > > > > >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
> > > > rmannibucau@gmail.com
> > > > > >> >
> > > > > >> > > > wrote:
> > > > > >> > > > > >
> > > > > >> > > > > > > Hi,
> > > > > >> > > > > > >
> > > > > >> > > > > > > do you use netbeans to deploy?
> > > > > >> > > > > > >
> > > > > >> > > > > > > maybe try out our snapshot since we fixed some
> issues
> > > > > >> regarding
> > > > > >> > the
> > > > > >> > > > way
> > > > > >> > > > > > > netbeans deploys.
> > > > > >> > > > > > >
> > > > > >> > > > > > > Side note: it is tomee.xml not tommee.xml
> > > > > >> > > > > > >
> > > > > >> > > > > > > - Romain
> > > > > >> > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > >> > > > > > >
> > > > > >> > > > > > > > I recently started looking to convert an JEE6
> > > > application
> > > > > >> > working
> > > > > >> > > > in
> > > > > >> > > > > > > > Glassfish application server to using TomEE+ 1.0
> > and I
> > > > am
> > > > > >> > having
> > > > > >> > > an
> > > > > >> > > > > > issue
> > > > > >> > > > > > > > with setting up the database.
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > If I define the Resource in the tomee.xml file in
> > the
> > > > > >> > > > tomeeDir/conf/
> > > > > >> > > > > > > > directory I am able to use the database I specify,
> > > which
> > > > is
> > > > > >> a
> > > > > >> > > Derby
> > > > > >> > > > > > > > database, but I want to be able to define the
> > database
> > > > to be
> > > > > >> > > > project
> > > > > >> > > > > > > > specific, like I was able to do in Glassfish.
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > What happens at the moment when I deploy the
> > > application
> > > > I
> > > > > >> > notice
> > > > > >> > > > in
> > > > > >> > > > > > the
> > > > > >> > > > > > > > logs that TomEE adjusts the PU defined to use the
> > > > Default
> > > > > >> JDBC
> > > > > >> > > > > > Database,
> > > > > >> > > > > > > > which was created, as I have removed the
> > definitition
> > > of
> > > > it
> > > > > >> > from
> > > > > >> > > > the
> > > > > >> > > > > > > > tomee.xml file.
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > Here is the logs when deploying my project:
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > org.apache.catalina.startup.HostConfig
> > > > > >> > > > deployWAR
> > > > > >> > > > > > > > INFO: Deploying web application archive
> > > > > >> > > > > > > >
> > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > > >> org.apache.openejb.config.DeploymentLoader
> > > > > >> > > > > > > > addFacesConfigs
> > > > > >> > > > > > > > INFO: faces config file is null
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > org.apache.openejb.config.ConfigurationFactory
> > > > > >> > > > > > > > configureApplication
> > > > > >> > > > > > > > INFO: Configuring enterprise application:
> > > > > >> > > > > > > >
> > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > >> > > > > > deploy
> > > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > > localhost/tomee-jee6-module.Comp:
> > > > > >> > > > > > > >
> > > > > >> EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > > >> > > > > > deploy
> > > > > >> > > > > > > > INFO: Auto-deploying ejb TestManagementService:
> > > > > >> > > > > > > > EjbDeployment(deployment-id=TestManagementService)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.config.AutoConfig
> > > > > >> > deploy
> > > > > >> > > > > > > > INFO: *Configuring
> > > > > >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.config.AutoConfig
> > > > > >> > > > > > > setJtaDataSource
> > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > JerseyRestfulWebServicePU
> > > > > >> > > > > > > <jta-data-source>
> > > > > >> > > > > > > > to Resource ID 'Default JDBC Database' from
> > 'derbyDb'
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.config.AutoConfig
> > > > > >> > > > > > > > setNonJtaDataSource
> > > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > > JerseyRestfulWebServicePU
> > > > > >> > > > > > > > <non-jta-data-source> to Resource ID 'Default JDBC
> > > > > >> > > DatabaseNonJta'
> > > > > >> > > > > from
> > > > > >> > > > > > > > 'null'*
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> org.apache.openejb.config.AppInfoBuilder
> > > > > >> > > build
> > > > > >> > > > > > > > INFO: Enterprise application
> > > > > >> > > > > > > >
> > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > > > >> > > loaded.
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > >> > > > > > > > createApplication
> > > > > >> > > > > > > > INFO: Assembling app:
> > > > > >> > > > > > > >
> > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > >> > > > > > > > parseValidationXml
> > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > > >> > > > > > > > parseValidationXml
> > > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.ejb.Ejb3Configuration
> > > > > >> > > configure
> > > > > >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > > > > >> > > > > > > > name: JerseyRestfulWebServicePU
> > > > > >> > > > > > > > ...]
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.cfg.AnnotationBinder
> > > > > >> > bindClass
> > > > > >> > > > > > > > INFO: Binding entity from annotated class:
> > > > > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> org.hibernate.cfg.annotations.EntityBinder
> > > > > >> > > > > > bindTable
> > > > > >> > > > > > > > INFO: Bind entity
> > com.shenick.diversifeye.domain.Host
> > > on
> > > > > >> table
> > > > > >> > > Host
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> org.hibernate.cfg.AnnotationConfiguration
> > > > > >> > > > > > > > secondPassCompile
> > > > > >> > > > > > > > INFO: Hibernate Validator not found: ignoring
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > > > org.hibernate.connection.ConnectionProviderFactory
> > > > > >> > > > > > > > newConnectionProvider
> > > > > >> > > > > > > > INFO: Initializing connection provider:
> > > > > >> > > > > > > >
> > > > > >> >
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > > > > > >
> > > > > >> >
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > >> > > > > > > configure
> > > > > >> > > > > > > > INFO: Using provided datasource
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine, version:
> 2.2.4*
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: JDBC driver: HSQL Database Engine Driver,
> > > version:
> > > > > >> 2.2.4
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Automatic flush during beforeCompletion():
> > > > disabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Automatic session close at end of
> transaction:
> > > > > >> disabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Scrollable result sets: enabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Connection release mode: auto
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Default batch fetch size: 1
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Generate SQL with comments: disabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Order SQL updates by primary key: disabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Order SQL inserts for batching: disabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > > > > > createQueryTranslatorFactory
> > > > > >> > > > > > > > INFO: Query translator:
> > > > > >> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Query language substitutions: {}
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: JPA-QL strict compliance: enabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Second-level cache: enabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Query cache: disabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > > > > createCacheProvider
> > > > > >> > > > > > > > INFO: Cache provider:
> > > > org.hibernate.cache.NoCacheProvider
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Optimize cache for minimal puts: disabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Structured second-level cache entries:
> > disabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Statistics: disabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Deleted entity synthetic identifier
> rollback:
> > > > disabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Default entity-mode: pojo
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.SettingsFactory
> > > > > >> > > > buildSettings
> > > > > >> > > > > > > > INFO: Named query checking : enabled
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > > > > > >
> > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > >> > > > > > > > createEntityManagerFactory
> > > > > >> > > > > > > > INFO:
> > *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence) -
> > > > provider
> > > > > >> > time
> > > > > >> > > > > 401ms*
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > >> > > > > > > bind
> > > > > >> > > > > > > > INFO:
> > > > Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > > > > >> -->
> > > > > >> > > > > > > >
> Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > >> > > > > > > bind
> > > > > >> > > > > > > > INFO: Jndi(name=TestManagementServiceLocalBean)
> -->
> > > > > >> > > > > > > > Ejb(deployment-id=TestManagementService)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > >> > > > > > > bind
> > > > > >> > > > > > > > INFO:
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > >> > > > > > > bind
> > > > > >> > > > > > > > INFO:
> > > > > >> > > > > >
> > > > > >>
> > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.cdi.CdiBuilder
> > > > build
> > > > > >> > > > > > > > INFO: existing thread singleton service in
> > > > SystemInstance()
> > > > > >> > > > > > > >
> > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > >> > > > > > > > startApplication
> > > > > >> > > > > > > > INFO: OpenWebBeans Container is starting...
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > >> > > > startUp
> > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > > >> > > > startUp
> > > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > > [OpenWebBeansJsfPlugin]
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.cdi.BeansDeployer
> > > > > >> > > > > > > > validateInjectionPoints
> > > > > >> > > > > > > > INFO: All injection points were validated
> > > successfully.
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > >> > > > > > > > startApplication
> > > > > >> > > > > > > > INFO: OpenWebBeans Container has started, it took
> > [15]
> > > > ms.
> > > > > >> > > > > > > > using context file
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > >> > > > > > > > createApplication
> > > > > >> > > > > > > > INFO: Created
> > Ejb(deployment-id=TestManagementService,
> > > > > >> > > > > > > > ejb-name=TestManagementService, container=My
> > Singleton
> > > > > >> > Container)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > >> > > > > > > > createApplication
> > > > > >> > > > > > > > INFO: Started
> > Ejb(deployment-id=TestManagementService,
> > > > > >> > > > > > > > ejb-name=TestManagementService, container=My
> > Singleton
> > > > > >> > Container)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > > >> > > > > > > > createApplication
> > > > > >> > > > > > > > INFO: Deployed
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > >> > > > > > > safeBind
> > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > >> > > > > > > > javax.naming.NameNotFoundException: Name [openejb]
> > is
> > > > not
> > > > > >> bound
> > > > > >> > > in
> > > > > >> > > > > this
> > > > > >> > > > > > > > Context. Unable to find [openejb].
> > > > > >> > > > > > > > at
> > > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > >> > > > > > > > at
> > > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > >> > > > > > > > at
> > > > > >> > > > >
> > > > > >>
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > >
> > > > > >> > > >
> > > > > >>
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> >
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> >
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> > >
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > >> > > > > > > > at
> > > > > >> > > >
> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > >> > > > > > > > at
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > >> Method)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > >> > > > > > > > at
> java.lang.reflect.Method.invoke(Method.java:597)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> > >
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > >> > > > > > > > at
> > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > >> > > > > > > > at
> > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > >> > > > > > > > at
> > > > > >> > > > >
> > > > > >>
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > >
> > > > > >> > > >
> > > > > >> >
> > > > > >>
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > >> > > > > > > safeBind
> > > > > >> > > > > > > > INFO: TransactionManager already bound, ignoring
> > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > >> > > > > > > safeBind
> > > > > >> > > > > > > > INFO: TransactionSynchronizationRegistry already
> > > bound,
> > > > > >> > ignoring
> > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > >> > > > > > > safeBind
> > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > >> > > > > > > > javax.naming.NameNotFoundException: No ORB
> > registered
> > > > with
> > > > > >> the
> > > > > >> > > > > OpenEJB
> > > > > >> > > > > > > > system
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > >
> > > > > >> > > > >
> > > > > >> > >
> > > > > >>
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > >> > > > > > > > at
> > > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > >> > > > > > > > at
> > > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > >> > > > > > > > at
> > > > > >> > > > >
> > > > > >>
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > >
> > > > > >> > > >
> > > > > >>
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> >
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> >
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> > >
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > >> > > > > > > > at
> > > > > >> > > >
> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > >> > > > > > > > at
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > >> Method)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > >> > > > > > > > at
> java.lang.reflect.Method.invoke(Method.java:597)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> > >
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > >> > > > > > > > at
> > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > >> > > > > > > > at
> > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > >> > > > > > > > at
> > > > > >> > > > >
> > > > > >>
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > >
> > > > > >> > > >
> > > > > >> >
> > > > > >>
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > >> > > > > > > safeBind
> > > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > > >> > > > > > > > javax.naming.NameNotFoundException: No
> > HandleDelegate
> > > > > >> > registered
> > > > > >> > > > with
> > > > > >> > > > > > the
> > > > > >> > > > > > > > OpenEJB system
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > >
> > > > > >> > > > >
> > > > > >> > >
> > > > > >>
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > >> > > > > > > > at
> > > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > >> > > > > > > > at
> > > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > >> > > > > > > > at
> > > > > >> > > > >
> > > > > >>
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > >
> > > > > >> > > >
> > > > > >>
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> >
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> >
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> > >
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > >> > > > > > > > at
> > > > > >> > > >
> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > >> > > > > > > > at
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > >> Method)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > >> > > > > > > > at
> java.lang.reflect.Method.invoke(Method.java:597)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > >> > > > > > > > at
> > > > > >> > > > > >
> > > > > >> > >
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > >> > > > > > > > at
> > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > >> > > > > > > > at
> > > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > >> > > > > > > > at
> > > > > >> > > > >
> > > > > >>
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > >
> > > > > >> > > >
> > > > > >> >
> > > > > >>
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > >> > > > > > > > at
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > org.apache.cxf.endpoint.ServerImpl
> > > > > >> > > > > initDestination
> > > > > >> > > > > > > > INFO: Setting the server's publish address to be
> > > > > >> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > >> > > > > > deployEJB
> > > > > >> > > > > > > > INFO: REST Service:
> > > > > >> > > > > > > >
> > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> > > > EJB
> > > > > >> > > > > > > > TestManagementService
> > > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > > >> org.apache.openejb.server.rest.RESTService
> > > > > >> > > > > > > > afterApplicationCreated
> > > > > >> > > > > > > > INFO: REST application deployed:
> > > > > >> > > > > > > > com.shenick.diversifeye.config.ApplicationConfig
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > Here is my persistence Unit:
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > <persistence version="2.0" xmlns="
> > > > > >> > > > > > http://java.sun.com/xml/ns/persistence
> > > > > >> > > > > > > "
> > > > > >> > > > > > > > xmlns:xsi="
> > http://www.w3.org/2001/XMLSchema-instance"
> > > > > >> > > > > > > xsi:schemaLocation="
> > > > > >> > > > > > > > http://java.sun.com/xml/ns/persistence
> > > > > >> > > > > > > >
> > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > > > > >> ">
> > > > > >> > > > > > > > <persistence-unit name="JerseyRestfulWebServicePU"
> > > > > >> > > > > > > transaction-type="JTA">
> > > > > >> > > > > > > >
> > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > >> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
> > > > > >> > > > > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > >> > > > > > > >
> > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > >> > > > > > > > <properties>
> > > > > >> > > > > > > > <property name="hibernate.dialect"
> > > > > >> > > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > >> > > > > > > > <property name="hibernate.hbm2ddl.auto"
> > > value="update"/>
> > > > > >> > > > > > > > </properties>
> > > > > >> > > > > > > > </persistence-unit>
> > > > > >> > > > > > > > </persistence>
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > I have a context.xml and openejb.xml specified in
> > the
> > > > > >> META-INF
> > > > > >> > > > folder
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > openejb.xml:
> > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > >> > > > > > > > <openejb>
> > > > > >> > > > > > > > <Resource id="derbyDb" type="DataSource">
> > > > > >> > > > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > >> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > >> > > > > > > > UserName app
> > > > > >> > > > > > > > Password app
> > > > > >> > > > > > > > JtaManaged true
> > > > > >> > > > > > > > </Resource>
> > > > > >> > > > > > > > </openejb>
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > and context.xml:
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > >> > > > > > > > <Context antiJARLocking="true"
> > > > path="/tomee-jee6-module"/>
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > I also have the resource referenced in the web.xml
> > > file:
> > > > > >> > > > > > > > <web-app version="3.0" xmlns="
> > > > > >> > http://java.sun.com/xml/ns/javaee"
> > > > > >> > > > > > > > xmlns:xsi="
> > > > > >> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > > >> > xsi:schemaLocation="
> > > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
> ">
> > > > > >> > > > > > > > <session-config>
> > > > > >> > > > > > > > <session-timeout>
> > > > > >> > > > > > > > 30
> > > > > >> > > > > > > > </session-timeout>
> > > > > >> > > > > > > >   </session-config>
> > > > > >> > > > > > > > <resource-ref>
> > > > > >> > > > > > > > <description>
> > > > > >> > > > > > > > Object factory for MyBean instances.
> > > > > >> > > > > > > > </description>
> > > > > >> > > > > > > > <res-ref-name>
> > > > > >> > > > > > > > derbyDb
> > > > > >> > > > > > > > </res-ref-name>
> > > > > >> > > > > > > > <res-type>
> > > > > >> > > > > > > > javax.sql.DataSource
> > > > > >> > > > > > > > </res-type>
> > > > > >> > > > > > > > <res-auth>
> > > > > >> > > > > > > > Container
> > > > > >> > > > > > > > </res-auth>
> > > > > >> > > > > > > >   </resource-ref>
> > > > > >> > > > > > > > </web-app>
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > What am I doing wrong, or is it not possible to
> > > define a
> > > > > >> > > datasource
> > > > > >> > > > > at
> > > > > >> > > > > > a
> > > > > >> > > > > > > > project level, and it should only be referenced in
> > the
> > > > > >> > tommee.xml
> > > > > >> > > > > file?
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > Thanks in advance
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > John McDonnell
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > --
> > > > > >> > > > > > John
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > --
> > > > > >> > > > John
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> > --
> > > > > >> > John
> > > > > >> >
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > John
> > > > > >
> > > >
> > >
> >
> >
> >
> > --
> > John
> >
>



-- 
John

Re: Project specific database

Posted by Romain Manni-Bucau <rm...@gmail.com>.
using in tomee.xml:

<tomee>
  <Resource id="jdbc/blog" type="DataSource">
    JdbcDriver org.apache.derby.jdbc.ClientDriver
    JdbcUrl jdbc:derby://localhost:1527/sample
    UserName app
    Password app
    JtaManaged true
  </Resource>
</tomee>

with in persistence.xml <jta-data-source>jdbc/blog</jta-data-source>

works for me.

any details on your installation?

i used the tomee maven plugin to add derby jars to the container


- Romain


2012/7/6 John McDonnell <mc...@gmail.com>

> Okay, firstly apologies for the last email...
>
>
> I tried calling the xml file resources.xml, and its in the META-INF folder,
> and it is still not working.
>
> The Derby Jar is also in the tomee/lib/ directory along with the hibernate
> jar as well, but when every I try to deploy the application I still get
> connected to the HSQL database.
>
> John
>
>
>
> On 5 July 2012 00:26, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> > not sure i understood correctly,
> >
> > typically tomee.xml is in conf/
> >
> > resources.xml is in META-INF like
> >
> >
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml
> >
> > the resources.xml uses the webapp classloader where tomee.xml creates
> > resources before any application deployment
> >
> > - Romain
> >
> >
> > 2012/7/5 John McDonnell <mc...@gmail.com>
> >
> > > Sorry but I am just home from a night out ....  I have tried calling
> the
> > > xml file openejb.xml tomee.xml and before I posted on this mailing
> list I
> > > have also tried calling the config file resources.xml and neither of
> > those
> > > three options worked.
> > >
> > > Is the contents of each file correct? If so this is either a bug or a
> > > limitation of ur project and so I should go back to defining the
> > > datatsource in the servers tomee.xml file which seems over the top
> > >
> > > John
> > > On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <rm...@gmail.com>
> > > wrote:
> > > >
> > > > you didnt add derby in tomee.xml?
> > > >
> > > > if you want to deliver derby in your webapp use
> META-INF/resources.xml
> > > > instead of tomee.xml.
> > > >
> > > > Note: using apache maven snapshot repository you can add to your pom
> > > (think
> > > > to rename your final to be the context name):
> > > >
> > > > <plugin>
> > > >             <groupId>org.apache.openejb.maven</groupId>
> > > >             <artifactId>tomee-maven-plugin</artifactId>
> > > >             <version>1.0.0-SNAPSHOT</version>
> > > >             <configuration>
> > > >               <tomeeClassifier>jaxrs</tomeeClassifier>
> > > >               <libs>
> > > >                 <lib>dom4j:dom4j:1.6.1</lib>
> > > >                 <lib>antlr:antlr:2.7.6</lib>
> > > >                 <lib>cglib:cglib:2.1_3</lib>
> > > >                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> > > >                 <lib>org.hibernate:hibernate:3.2.5.ga</lib>
> > > >
> > <lib>commons-collections:commons-collections:2.1.1</lib>
> > > >                 <lib>org.hibernate:hibernate-entitymanager:3.3.2.GA
> > > </lib>
> > > >                 <lib>org.hibernate:hibernate-annotations:3.3.1.GA
> > </lib>
> > > >                 <lib>org.hibernate:hibernate-commons-annotations:
> > > 3.0.0.ga
> > > > </lib>
> > > >                 <lib>org.hibernate:ejb3-persistence:1.0.1.GA</lib>
> > <!--
> > > > derby and so on can be added the same way -->
> > > >               </libs>
> > > >             </configuration>
> > > >           </plugin>
> > > >
> > > > - Romain
> > > >
> > > >
> > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > >
> > > > > Okay,
> > > > >
> > > > > I have zipped up the maven project which contains the 2 modules.
>  The
> > > core
> > > > > module is just a simple library which is used by the TomEE Restful
> > JEE6
> > > > > Module.
> > > > >
> > > > >
> > > > > I have the following Jars in the tomee/lib/ dir:
> > > > >
> > > > > cglib 2.1_3
> > > > > hibernate 3.2.5.GA
> > > > > hibernate-annotations 3.3.1.GA
> > > > > hibernate-commons-annotations 3.3.1.GA
> > > > > dom4j 1.6.1
> > > > > asm 1.5.3
> > > > > asm-attr 1.5.3
> > > > >
> > > > >
> > > > > and I have editted line 294 of catalina.bat to set the
> > > > > javax.persistence.provider property:
> > > > > set
> > > > >
> > >
> > >
> >
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > > > >
> > > > >
> > > > > Hope this helps!
> > > > >
> > > > >
> > > > > John McDonnell
> > > > >
> > > > >
> > > > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <je...@gmail.com>
> > wrote:
> > > > >
> > > > >> Any chance, you could share a simple example to reproduce the
> issue?
> > > > >> That'd be easier to work on maybe.
> > > > >>
> > > > >> Jean-Louis
> > > > >>
> > > > >> 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > >>
> > > > >> > I renamed the openejb.xml file to tomee.xml (its still in the
> > > META-INF
> > > > >> > folder) and it looks like this now:
> > > > >> >
> > > > >> > <?xml version="1.0" encoding="UTF-8"?>
> > > > >> > <tomee>
> > > > >> > <Resource id="derbyDb" type="DataSource">
> > > > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > >> > UserName app
> > > > >> > Password app
> > > > >> > JtaManaged true
> > > > >> > </Resource>
> > > > >> > </tomee>
> > > > >> >
> > > > >> >
> > > > >> > No joy again as the application is still using the HSQL database
> > as
> > > > >> opposed
> > > > >> > to the Derby one.
> > > > >> >
> > > > >> > Any other suggestions?
> > > > >> >
> > > > >> >
> > > > >> > John
> > > > >> >
> > > > >> > On 4 July 2012 15:12, Romain Manni-Bucau <rmannibucau@gmail.com
> >
> > > wrote:
> > > > >> >
> > > > >> > > hmm, try tomee.xml instead of openejb.xml
> > > > >> > >
> > > > >> > > - Romain
> > > > >> > >
> > > > >> > >
> > > > >> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > >> > >
> > > > >> > > > I have downloaded the the snapshot of 1.1.0 and deployed the
> > > > >> > application,
> > > > >> > > > but no luck.
> > > > >> > > >
> > > > >> > > > when deploying the application, the application still uses
> > HSQL
> > > for
> > > > >> the
> > > > >> > > > database, and not the defined Derby database.  Is there a
> > > problem
> > > > >> with
> > > > >> > my
> > > > >> > > > configuration? (context.xml/openejb.xml/web.xml)
> > > > >> > > >
> > > > >> > > > John
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > > >
> > > > >> > wrote:
> > > > >> > > >
> > > > >> > > > > yep that's the same way netbeans deploys
> > > > >> > > > >
> > > > >> > > > > - Romain
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > >> > > > >
> > > > >> > > > > > Hey, thanks for the fast reply...
> > > > >> > > > > >
> > > > >> > > > > > I dont use netbeans for deploying, I use to to build the
> > > maven
> > > > >> > > project,
> > > > >> > > > > and
> > > > >> > > > > > then I use the management web app "/manager" to deploy.
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > I'll get the snapshot anyways and try that out.
> > > > >> > > > > >
> > > > >> > > > > > John
> > > > >> > > > > >
> > > > >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > > >> >
> > > > >> > > > wrote:
> > > > >> > > > > >
> > > > >> > > > > > > Hi,
> > > > >> > > > > > >
> > > > >> > > > > > > do you use netbeans to deploy?
> > > > >> > > > > > >
> > > > >> > > > > > > maybe try out our snapshot since we fixed some issues
> > > > >> regarding
> > > > >> > the
> > > > >> > > > way
> > > > >> > > > > > > netbeans deploys.
> > > > >> > > > > > >
> > > > >> > > > > > > Side note: it is tomee.xml not tommee.xml
> > > > >> > > > > > >
> > > > >> > > > > > > - Romain
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > >> > > > > > >
> > > > >> > > > > > > > I recently started looking to convert an JEE6
> > > application
> > > > >> > working
> > > > >> > > > in
> > > > >> > > > > > > > Glassfish application server to using TomEE+ 1.0
> and I
> > > am
> > > > >> > having
> > > > >> > > an
> > > > >> > > > > > issue
> > > > >> > > > > > > > with setting up the database.
> > > > >> > > > > > > >
> > > > >> > > > > > > > If I define the Resource in the tomee.xml file in
> the
> > > > >> > > > tomeeDir/conf/
> > > > >> > > > > > > > directory I am able to use the database I specify,
> > which
> > > is
> > > > >> a
> > > > >> > > Derby
> > > > >> > > > > > > > database, but I want to be able to define the
> database
> > > to be
> > > > >> > > > project
> > > > >> > > > > > > > specific, like I was able to do in Glassfish.
> > > > >> > > > > > > >
> > > > >> > > > > > > > What happens at the moment when I deploy the
> > application
> > > I
> > > > >> > notice
> > > > >> > > > in
> > > > >> > > > > > the
> > > > >> > > > > > > > logs that TomEE adjusts the PU defined to use the
> > > Default
> > > > >> JDBC
> > > > >> > > > > > Database,
> > > > >> > > > > > > > which was created, as I have removed the
> definitition
> > of
> > > it
> > > > >> > from
> > > > >> > > > the
> > > > >> > > > > > > > tomee.xml file.
> > > > >> > > > > > > >
> > > > >> > > > > > > > Here is the logs when deploying my project:
> > > > >> > > > > > > >
> > > > >> > > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > org.apache.catalina.startup.HostConfig
> > > > >> > > > deployWAR
> > > > >> > > > > > > > INFO: Deploying web application archive
> > > > >> > > > > > > >
> > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > > >> org.apache.openejb.config.DeploymentLoader
> > > > >> > > > > > > > addFacesConfigs
> > > > >> > > > > > > > INFO: faces config file is null
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > org.apache.openejb.config.ConfigurationFactory
> > > > >> > > > > > > > configureApplication
> > > > >> > > > > > > > INFO: Configuring enterprise application:
> > > > >> > > > > > > >
> > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > >> > > > > > deploy
> > > > >> > > > > > > > INFO: Auto-deploying ejb
> > > localhost/tomee-jee6-module.Comp:
> > > > >> > > > > > > >
> > > > >> EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > org.apache.openejb.config.InitEjbDeployments
> > > > >> > > > > > deploy
> > > > >> > > > > > > > INFO: Auto-deploying ejb TestManagementService:
> > > > >> > > > > > > > EjbDeployment(deployment-id=TestManagementService)
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.config.AutoConfig
> > > > >> > deploy
> > > > >> > > > > > > > INFO: *Configuring
> > > > >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.config.AutoConfig
> > > > >> > > > > > > setJtaDataSource
> > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > JerseyRestfulWebServicePU
> > > > >> > > > > > > <jta-data-source>
> > > > >> > > > > > > > to Resource ID 'Default JDBC Database' from
> 'derbyDb'
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.config.AutoConfig
> > > > >> > > > > > > > setNonJtaDataSource
> > > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > > JerseyRestfulWebServicePU
> > > > >> > > > > > > > <non-jta-data-source> to Resource ID 'Default JDBC
> > > > >> > > DatabaseNonJta'
> > > > >> > > > > from
> > > > >> > > > > > > > 'null'*
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> org.apache.openejb.config.AppInfoBuilder
> > > > >> > > build
> > > > >> > > > > > > > INFO: Enterprise application
> > > > >> > > > > > > >
> > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > > >> > > loaded.
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > >> > > > > > > > createApplication
> > > > >> > > > > > > > INFO: Assembling app:
> > > > >> > > > > > > >
> > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > >> > > > > > > > parseValidationXml
> > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > > >> > > > > > > > parseValidationXml
> > > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.ejb.Ejb3Configuration
> > > > >> > > configure
> > > > >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > > > >> > > > > > > > name: JerseyRestfulWebServicePU
> > > > >> > > > > > > > ...]
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.hibernate.cfg.AnnotationBinder
> > > > >> > bindClass
> > > > >> > > > > > > > INFO: Binding entity from annotated class:
> > > > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> org.hibernate.cfg.annotations.EntityBinder
> > > > >> > > > > > bindTable
> > > > >> > > > > > > > INFO: Bind entity
> com.shenick.diversifeye.domain.Host
> > on
> > > > >> table
> > > > >> > > Host
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> org.hibernate.cfg.AnnotationConfiguration
> > > > >> > > > > > > > secondPassCompile
> > > > >> > > > > > > > INFO: Hibernate Validator not found: ignoring
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > > > org.hibernate.connection.ConnectionProviderFactory
> > > > >> > > > > > > > newConnectionProvider
> > > > >> > > > > > > > INFO: Initializing connection provider:
> > > > >> > > > > > > >
> > > > >> >
> org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > > > > > >
> > > > >> >
> org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > >> > > > > > > configure
> > > > >> > > > > > > > INFO: Using provided datasource
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: JDBC driver: HSQL Database Engine Driver,
> > version:
> > > > >> 2.2.4
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Automatic flush during beforeCompletion():
> > > disabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Automatic session close at end of transaction:
> > > > >> disabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Scrollable result sets: enabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Connection release mode: auto
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Default batch fetch size: 1
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Generate SQL with comments: disabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Order SQL updates by primary key: disabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Order SQL inserts for batching: disabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > > > > > createQueryTranslatorFactory
> > > > >> > > > > > > > INFO: Query translator:
> > > > >> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Query language substitutions: {}
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: JPA-QL strict compliance: enabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Second-level cache: enabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Query cache: disabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > > > > createCacheProvider
> > > > >> > > > > > > > INFO: Cache provider:
> > > org.hibernate.cache.NoCacheProvider
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Optimize cache for minimal puts: disabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Structured second-level cache entries:
> disabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Statistics: disabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Deleted entity synthetic identifier rollback:
> > > disabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Default entity-mode: pojo
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.SettingsFactory
> > > > >> > > > buildSettings
> > > > >> > > > > > > > INFO: Named query checking : enabled
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > > > > > >
> > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > >> > > > > > > > createEntityManagerFactory
> > > > >> > > > > > > > INFO:
> *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence) -
> > > provider
> > > > >> > time
> > > > >> > > > > 401ms*
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > >> > > > > > > bind
> > > > >> > > > > > > > INFO:
> > > Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > > > >> -->
> > > > >> > > > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > >> > > > > > > bind
> > > > >> > > > > > > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> > > > >> > > > > > > > Ejb(deployment-id=TestManagementService)
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > >> > > > > > > bind
> > > > >> > > > > > > > INFO:
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > >> > > > > > > bind
> > > > >> > > > > > > > INFO:
> > > > >> > > > > >
> > > > >>
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.cdi.CdiBuilder
> > > build
> > > > >> > > > > > > > INFO: existing thread singleton service in
> > > SystemInstance()
> > > > >> > > > > > > >
> > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > >> > > > > > > > startApplication
> > > > >> > > > > > > > INFO: OpenWebBeans Container is starting...
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > >> > > > startUp
> > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> org.apache.webbeans.plugins.PluginLoader
> > > > >> > > > startUp
> > > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > > [OpenWebBeansJsfPlugin]
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.cdi.BeansDeployer
> > > > >> > > > > > > > validateInjectionPoints
> > > > >> > > > > > > > INFO: All injection points were validated
> > successfully.
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.cdi.OpenEJBLifecycle
> > > > >> > > > > > > > startApplication
> > > > >> > > > > > > > INFO: OpenWebBeans Container has started, it took
> [15]
> > > ms.
> > > > >> > > > > > > > using context file
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > >> > > > > > > > createApplication
> > > > >> > > > > > > > INFO: Created
> Ejb(deployment-id=TestManagementService,
> > > > >> > > > > > > > ejb-name=TestManagementService, container=My
> Singleton
> > > > >> > Container)
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > >> > > > > > > > createApplication
> > > > >> > > > > > > > INFO: Started
> Ejb(deployment-id=TestManagementService,
> > > > >> > > > > > > > ejb-name=TestManagementService, container=My
> Singleton
> > > > >> > Container)
> > > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > > >> > > > > > > > createApplication
> > > > >> > > > > > > > INFO: Deployed
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > >> > > > > > > safeBind
> > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > >> > > > > > > > javax.naming.NameNotFoundException: Name [openejb]
> is
> > > not
> > > > >> bound
> > > > >> > > in
> > > > >> > > > > this
> > > > >> > > > > > > > Context. Unable to find [openejb].
> > > > >> > > > > > > > at
> > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > >> > > > > > > > at
> > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > >> > > > > > > > at
> > > > >> > > > >
> > > > >>
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > >> > > > > > > > at
> > > > >> > > > > > >
> > > > >> > > >
> > > > >>
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> >
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> >
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > >> > > > > > > > at
> > > > >> > > >
> > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > >> > > > > > > > at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > >> Method)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > >> > > > > > > > at
> > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > >> > > > > > > > at
> > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > >> > > > > > > > at
> > > > >> > > > >
> > > > >>
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > > >>
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > >> > > > > > > safeBind
> > > > >> > > > > > > > INFO: TransactionManager already bound, ignoring
> > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > >> > > > > > > safeBind
> > > > >> > > > > > > > INFO: TransactionSynchronizationRegistry already
> > bound,
> > > > >> > ignoring
> > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > >> > > > > > > safeBind
> > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > >> > > > > > > > javax.naming.NameNotFoundException: No ORB
> registered
> > > with
> > > > >> the
> > > > >> > > > > OpenEJB
> > > > >> > > > > > > > system
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > >> > > > > > > > at
> > > > >> > > > > > >
> > > > >> > > > >
> > > > >> > >
> > > > >>
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > >> > > > > > > > at
> > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > >> > > > > > > > at
> > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > >> > > > > > > > at
> > > > >> > > > >
> > > > >>
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > >> > > > > > > > at
> > > > >> > > > > > >
> > > > >> > > >
> > > > >>
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> >
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> >
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > >> > > > > > > > at
> > > > >> > > >
> > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > >> > > > > > > > at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > >> Method)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > >> > > > > > > > at
> > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > >> > > > > > > > at
> > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > >> > > > > > > > at
> > > > >> > > > >
> > > > >>
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > > >>
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > >> > > > > > > safeBind
> > > > >> > > > > > > > SEVERE: Error in safeBind method
> > > > >> > > > > > > > javax.naming.NameNotFoundException: No
> HandleDelegate
> > > > >> > registered
> > > > >> > > > with
> > > > >> > > > > > the
> > > > >> > > > > > > > OpenEJB system
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > >> > > > > > > > at
> > > > >> > > > > > >
> > > > >> > > > >
> > > > >> > >
> > > > >>
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > >> > > > > > > > at
> > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > >> > > > > > > > at
> > > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > >> > > > > > > > at
> > > > >> > > > >
> > > > >>
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > >> > > > > > > > at
> > > > >> > > > > > >
> > > > >> > > >
> > > > >>
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> >
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> >
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > >> > > > > > > > at
> > > > >> > > >
> > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > >> > > > > > > > at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > >> Method)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > >> > > > > > > > at
> > > > >> > > > > >
> > > > >> > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > >> > > > > > > > at
> > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > >> > > > > > > > at
> > > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > >> > > > > > > > at
> > > > >> > > > >
> > > > >>
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > >
> > > > >> > > >
> > > > >> >
> > > > >>
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > >> > > > > > > > at
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > org.apache.cxf.endpoint.ServerImpl
> > > > >> > > > > initDestination
> > > > >> > > > > > > > INFO: Setting the server's publish address to be
> > > > >> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > >> org.apache.openejb.server.rest.RESTService
> > > > >> > > > > > deployEJB
> > > > >> > > > > > > > INFO: REST Service:
> > > > >> > > > > > > >
> > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> > > EJB
> > > > >> > > > > > > > TestManagementService
> > > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > > >> org.apache.openejb.server.rest.RESTService
> > > > >> > > > > > > > afterApplicationCreated
> > > > >> > > > > > > > INFO: REST application deployed:
> > > > >> > > > > > > > com.shenick.diversifeye.config.ApplicationConfig
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > > > Here is my persistence Unit:
> > > > >> > > > > > > >
> > > > >> > > > > > > > <persistence version="2.0" xmlns="
> > > > >> > > > > > http://java.sun.com/xml/ns/persistence
> > > > >> > > > > > > "
> > > > >> > > > > > > > xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
> > > > >> > > > > > > xsi:schemaLocation="
> > > > >> > > > > > > > http://java.sun.com/xml/ns/persistence
> > > > >> > > > > > > >
> > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > > > >> ">
> > > > >> > > > > > > > <persistence-unit name="JerseyRestfulWebServicePU"
> > > > >> > > > > > > transaction-type="JTA">
> > > > >> > > > > > > >
> > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > >> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
> > > > >> > > > > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > >> > > > > > > >
> > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > >> > > > > > > > <properties>
> > > > >> > > > > > > > <property name="hibernate.dialect"
> > > > >> > > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > >> > > > > > > > <property name="hibernate.hbm2ddl.auto"
> > value="update"/>
> > > > >> > > > > > > > </properties>
> > > > >> > > > > > > > </persistence-unit>
> > > > >> > > > > > > > </persistence>
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > > > I have a context.xml and openejb.xml specified in
> the
> > > > >> META-INF
> > > > >> > > > folder
> > > > >> > > > > > > >
> > > > >> > > > > > > > openejb.xml:
> > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > >> > > > > > > > <openejb>
> > > > >> > > > > > > > <Resource id="derbyDb" type="DataSource">
> > > > >> > > > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > >> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > >> > > > > > > > UserName app
> > > > >> > > > > > > > Password app
> > > > >> > > > > > > > JtaManaged true
> > > > >> > > > > > > > </Resource>
> > > > >> > > > > > > > </openejb>
> > > > >> > > > > > > >
> > > > >> > > > > > > > and context.xml:
> > > > >> > > > > > > >
> > > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > >> > > > > > > > <Context antiJARLocking="true"
> > > path="/tomee-jee6-module"/>
> > > > >> > > > > > > >
> > > > >> > > > > > > > I also have the resource referenced in the web.xml
> > file:
> > > > >> > > > > > > > <web-app version="3.0" xmlns="
> > > > >> > http://java.sun.com/xml/ns/javaee"
> > > > >> > > > > > > > xmlns:xsi="
> > > > >> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > > >> > xsi:schemaLocation="
> > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > > >> > > > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> > > > >> > > > > > > > <session-config>
> > > > >> > > > > > > > <session-timeout>
> > > > >> > > > > > > > 30
> > > > >> > > > > > > > </session-timeout>
> > > > >> > > > > > > >   </session-config>
> > > > >> > > > > > > > <resource-ref>
> > > > >> > > > > > > > <description>
> > > > >> > > > > > > > Object factory for MyBean instances.
> > > > >> > > > > > > > </description>
> > > > >> > > > > > > > <res-ref-name>
> > > > >> > > > > > > > derbyDb
> > > > >> > > > > > > > </res-ref-name>
> > > > >> > > > > > > > <res-type>
> > > > >> > > > > > > > javax.sql.DataSource
> > > > >> > > > > > > > </res-type>
> > > > >> > > > > > > > <res-auth>
> > > > >> > > > > > > > Container
> > > > >> > > > > > > > </res-auth>
> > > > >> > > > > > > >   </resource-ref>
> > > > >> > > > > > > > </web-app>
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > > > What am I doing wrong, or is it not possible to
> > define a
> > > > >> > > datasource
> > > > >> > > > > at
> > > > >> > > > > > a
> > > > >> > > > > > > > project level, and it should only be referenced in
> the
> > > > >> > tommee.xml
> > > > >> > > > > file?
> > > > >> > > > > > > >
> > > > >> > > > > > > > Thanks in advance
> > > > >> > > > > > > >
> > > > >> > > > > > > > John McDonnell
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > --
> > > > >> > > > > > John
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > --
> > > > >> > > > John
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > --
> > > > >> > John
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > John
> > > > >
> > >
> >
>
>
>
> --
> John
>

Re: Project specific database

Posted by John McDonnell <mc...@gmail.com>.
Okay, firstly apologies for the last email...


I tried calling the xml file resources.xml, and its in the META-INF folder,
and it is still not working.

The Derby Jar is also in the tomee/lib/ directory along with the hibernate
jar as well, but when every I try to deploy the application I still get
connected to the HSQL database.

John



On 5 July 2012 00:26, Romain Manni-Bucau <rm...@gmail.com> wrote:

> not sure i understood correctly,
>
> typically tomee.xml is in conf/
>
> resources.xml is in META-INF like
>
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml
>
> the resources.xml uses the webapp classloader where tomee.xml creates
> resources before any application deployment
>
> - Romain
>
>
> 2012/7/5 John McDonnell <mc...@gmail.com>
>
> > Sorry but I am just home from a night out ....  I have tried calling the
> > xml file openejb.xml tomee.xml and before I posted on this mailing list I
> > have also tried calling the config file resources.xml and neither of
> those
> > three options worked.
> >
> > Is the contents of each file correct? If so this is either a bug or a
> > limitation of ur project and so I should go back to defining the
> > datatsource in the servers tomee.xml file which seems over the top
> >
> > John
> > On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <rm...@gmail.com>
> > wrote:
> > >
> > > you didnt add derby in tomee.xml?
> > >
> > > if you want to deliver derby in your webapp use META-INF/resources.xml
> > > instead of tomee.xml.
> > >
> > > Note: using apache maven snapshot repository you can add to your pom
> > (think
> > > to rename your final to be the context name):
> > >
> > > <plugin>
> > >             <groupId>org.apache.openejb.maven</groupId>
> > >             <artifactId>tomee-maven-plugin</artifactId>
> > >             <version>1.0.0-SNAPSHOT</version>
> > >             <configuration>
> > >               <tomeeClassifier>jaxrs</tomeeClassifier>
> > >               <libs>
> > >                 <lib>dom4j:dom4j:1.6.1</lib>
> > >                 <lib>antlr:antlr:2.7.6</lib>
> > >                 <lib>cglib:cglib:2.1_3</lib>
> > >                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> > >                 <lib>org.hibernate:hibernate:3.2.5.ga</lib>
> > >
> <lib>commons-collections:commons-collections:2.1.1</lib>
> > >                 <lib>org.hibernate:hibernate-entitymanager:3.3.2.GA
> > </lib>
> > >                 <lib>org.hibernate:hibernate-annotations:3.3.1.GA
> </lib>
> > >                 <lib>org.hibernate:hibernate-commons-annotations:
> > 3.0.0.ga
> > > </lib>
> > >                 <lib>org.hibernate:ejb3-persistence:1.0.1.GA</lib>
> <!--
> > > derby and so on can be added the same way -->
> > >               </libs>
> > >             </configuration>
> > >           </plugin>
> > >
> > > - Romain
> > >
> > >
> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > >
> > > > Okay,
> > > >
> > > > I have zipped up the maven project which contains the 2 modules.  The
> > core
> > > > module is just a simple library which is used by the TomEE Restful
> JEE6
> > > > Module.
> > > >
> > > >
> > > > I have the following Jars in the tomee/lib/ dir:
> > > >
> > > > cglib 2.1_3
> > > > hibernate 3.2.5.GA
> > > > hibernate-annotations 3.3.1.GA
> > > > hibernate-commons-annotations 3.3.1.GA
> > > > dom4j 1.6.1
> > > > asm 1.5.3
> > > > asm-attr 1.5.3
> > > >
> > > >
> > > > and I have editted line 294 of catalina.bat to set the
> > > > javax.persistence.provider property:
> > > > set
> > > >
> >
> >
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > > >
> > > >
> > > > Hope this helps!
> > > >
> > > >
> > > > John McDonnell
> > > >
> > > >
> > > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <je...@gmail.com>
> wrote:
> > > >
> > > >> Any chance, you could share a simple example to reproduce the issue?
> > > >> That'd be easier to work on maybe.
> > > >>
> > > >> Jean-Louis
> > > >>
> > > >> 2012/7/4 John McDonnell <mc...@gmail.com>
> > > >>
> > > >> > I renamed the openejb.xml file to tomee.xml (its still in the
> > META-INF
> > > >> > folder) and it looks like this now:
> > > >> >
> > > >> > <?xml version="1.0" encoding="UTF-8"?>
> > > >> > <tomee>
> > > >> > <Resource id="derbyDb" type="DataSource">
> > > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > > >> > UserName app
> > > >> > Password app
> > > >> > JtaManaged true
> > > >> > </Resource>
> > > >> > </tomee>
> > > >> >
> > > >> >
> > > >> > No joy again as the application is still using the HSQL database
> as
> > > >> opposed
> > > >> > to the Derby one.
> > > >> >
> > > >> > Any other suggestions?
> > > >> >
> > > >> >
> > > >> > John
> > > >> >
> > > >> > On 4 July 2012 15:12, Romain Manni-Bucau <rm...@gmail.com>
> > wrote:
> > > >> >
> > > >> > > hmm, try tomee.xml instead of openejb.xml
> > > >> > >
> > > >> > > - Romain
> > > >> > >
> > > >> > >
> > > >> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > >> > >
> > > >> > > > I have downloaded the the snapshot of 1.1.0 and deployed the
> > > >> > application,
> > > >> > > > but no luck.
> > > >> > > >
> > > >> > > > when deploying the application, the application still uses
> HSQL
> > for
> > > >> the
> > > >> > > > database, and not the defined Derby database.  Is there a
> > problem
> > > >> with
> > > >> > my
> > > >> > > > configuration? (context.xml/openejb.xml/web.xml)
> > > >> > > >
> > > >> > > > John
> > > >> > > >
> > > >> > > >
> > > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >
> > > >> > wrote:
> > > >> > > >
> > > >> > > > > yep that's the same way netbeans deploys
> > > >> > > > >
> > > >> > > > > - Romain
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > >> > > > >
> > > >> > > > > > Hey, thanks for the fast reply...
> > > >> > > > > >
> > > >> > > > > > I dont use netbeans for deploying, I use to to build the
> > maven
> > > >> > > project,
> > > >> > > > > and
> > > >> > > > > > then I use the management web app "/manager" to deploy.
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > I'll get the snapshot anyways and try that out.
> > > >> > > > > >
> > > >> > > > > > John
> > > >> > > > > >
> > > >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > > >> >
> > > >> > > > wrote:
> > > >> > > > > >
> > > >> > > > > > > Hi,
> > > >> > > > > > >
> > > >> > > > > > > do you use netbeans to deploy?
> > > >> > > > > > >
> > > >> > > > > > > maybe try out our snapshot since we fixed some issues
> > > >> regarding
> > > >> > the
> > > >> > > > way
> > > >> > > > > > > netbeans deploys.
> > > >> > > > > > >
> > > >> > > > > > > Side note: it is tomee.xml not tommee.xml
> > > >> > > > > > >
> > > >> > > > > > > - Romain
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > >> > > > > > >
> > > >> > > > > > > > I recently started looking to convert an JEE6
> > application
> > > >> > working
> > > >> > > > in
> > > >> > > > > > > > Glassfish application server to using TomEE+ 1.0 and I
> > am
> > > >> > having
> > > >> > > an
> > > >> > > > > > issue
> > > >> > > > > > > > with setting up the database.
> > > >> > > > > > > >
> > > >> > > > > > > > If I define the Resource in the tomee.xml file in the
> > > >> > > > tomeeDir/conf/
> > > >> > > > > > > > directory I am able to use the database I specify,
> which
> > is
> > > >> a
> > > >> > > Derby
> > > >> > > > > > > > database, but I want to be able to define the database
> > to be
> > > >> > > > project
> > > >> > > > > > > > specific, like I was able to do in Glassfish.
> > > >> > > > > > > >
> > > >> > > > > > > > What happens at the moment when I deploy the
> application
> > I
> > > >> > notice
> > > >> > > > in
> > > >> > > > > > the
> > > >> > > > > > > > logs that TomEE adjusts the PU defined to use the
> > Default
> > > >> JDBC
> > > >> > > > > > Database,
> > > >> > > > > > > > which was created, as I have removed the definitition
> of
> > it
> > > >> > from
> > > >> > > > the
> > > >> > > > > > > > tomee.xml file.
> > > >> > > > > > > >
> > > >> > > > > > > > Here is the logs when deploying my project:
> > > >> > > > > > > >
> > > >> > > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > >> > > > > > > > 04-Jul-2012 12:52:12
> > org.apache.catalina.startup.HostConfig
> > > >> > > > deployWAR
> > > >> > > > > > > > INFO: Deploying web application archive
> > > >> > > > > > > >
> > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > >> > > > > > > > 04-Jul-2012 12:52:12
> > > >> org.apache.openejb.config.DeploymentLoader
> > > >> > > > > > > > addFacesConfigs
> > > >> > > > > > > > INFO: faces config file is null
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > org.apache.openejb.config.ConfigurationFactory
> > > >> > > > > > > > configureApplication
> > > >> > > > > > > > INFO: Configuring enterprise application:
> > > >> > > > > > > >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > org.apache.openejb.config.InitEjbDeployments
> > > >> > > > > > deploy
> > > >> > > > > > > > INFO: Auto-deploying ejb
> > localhost/tomee-jee6-module.Comp:
> > > >> > > > > > > >
> > > >> EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > org.apache.openejb.config.InitEjbDeployments
> > > >> > > > > > deploy
> > > >> > > > > > > > INFO: Auto-deploying ejb TestManagementService:
> > > >> > > > > > > > EjbDeployment(deployment-id=TestManagementService)
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.config.AutoConfig
> > > >> > deploy
> > > >> > > > > > > > INFO: *Configuring
> > > >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.config.AutoConfig
> > > >> > > > > > > setJtaDataSource
> > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > JerseyRestfulWebServicePU
> > > >> > > > > > > <jta-data-source>
> > > >> > > > > > > > to Resource ID 'Default JDBC Database' from 'derbyDb'
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.config.AutoConfig
> > > >> > > > > > > > setNonJtaDataSource
> > > >> > > > > > > > INFO: Adjusting PersistenceUnit
> > JerseyRestfulWebServicePU
> > > >> > > > > > > > <non-jta-data-source> to Resource ID 'Default JDBC
> > > >> > > DatabaseNonJta'
> > > >> > > > > from
> > > >> > > > > > > > 'null'*
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> org.apache.openejb.config.AppInfoBuilder
> > > >> > > build
> > > >> > > > > > > > INFO: Enterprise application
> > > >> > > > > > > >
> > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > >> > > loaded.
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > >> > > > > > > > createApplication
> > > >> > > > > > > > INFO: Assembling app:
> > > >> > > > > > > >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > >> > > > > > > > parseValidationXml
> > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> org.apache.bval.jsr303.ConfigurationImpl
> > > >> > > > > > > > parseValidationXml
> > > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.ejb.Ejb3Configuration
> > > >> > > configure
> > > >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > > >> > > > > > > > name: JerseyRestfulWebServicePU
> > > >> > > > > > > > ...]
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.AnnotationBinder
> > > >> > bindClass
> > > >> > > > > > > > INFO: Binding entity from annotated class:
> > > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> org.hibernate.cfg.annotations.EntityBinder
> > > >> > > > > > bindTable
> > > >> > > > > > > > INFO: Bind entity com.shenick.diversifeye.domain.Host
> on
> > > >> table
> > > >> > > Host
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> org.hibernate.cfg.AnnotationConfiguration
> > > >> > > > > > > > secondPassCompile
> > > >> > > > > > > > INFO: Hibernate Validator not found: ignoring
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > > > org.hibernate.connection.ConnectionProviderFactory
> > > >> > > > > > > > newConnectionProvider
> > > >> > > > > > > > INFO: Initializing connection provider:
> > > >> > > > > > > >
> > > >> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > > > > > >
> > > >> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > >> > > > > > > configure
> > > >> > > > > > > > INFO: Using provided datasource
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: JDBC driver: HSQL Database Engine Driver,
> version:
> > > >> 2.2.4
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Automatic flush during beforeCompletion():
> > disabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Automatic session close at end of transaction:
> > > >> disabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Scrollable result sets: enabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Connection release mode: auto
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Default batch fetch size: 1
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Generate SQL with comments: disabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Order SQL updates by primary key: disabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Order SQL inserts for batching: disabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > > > > > createQueryTranslatorFactory
> > > >> > > > > > > > INFO: Query translator:
> > > >> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Query language substitutions: {}
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: JPA-QL strict compliance: enabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Second-level cache: enabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Query cache: disabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > > > > createCacheProvider
> > > >> > > > > > > > INFO: Cache provider:
> > org.hibernate.cache.NoCacheProvider
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Optimize cache for minimal puts: disabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Structured second-level cache entries: disabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Statistics: disabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Deleted entity synthetic identifier rollback:
> > disabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Default entity-mode: pojo
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > >> > > > buildSettings
> > > >> > > > > > > > INFO: Named query checking : enabled
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > > > > > >
> org.apache.openejb.assembler.classic.PersistenceBuilder
> > > >> > > > > > > > createEntityManagerFactory
> > > >> > > > > > > > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence) -
> > provider
> > > >> > time
> > > >> > > > > 401ms*
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > >> > > > > > > bind
> > > >> > > > > > > > INFO:
> > Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > > >> -->
> > > >> > > > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > >> > > > > > > bind
> > > >> > > > > > > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> > > >> > > > > > > > Ejb(deployment-id=TestManagementService)
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > >> > > > > > > bind
> > > >> > > > > > > > INFO:
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > >> > > > > > > bind
> > > >> > > > > > > > INFO:
> > > >> > > > > >
> > > >> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > >> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder
> > build
> > > >> > > > > > > > INFO: existing thread singleton service in
> > SystemInstance()
> > > >> > > > > > > >
> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.cdi.OpenEJBLifecycle
> > > >> > > > > > > > startApplication
> > > >> > > > > > > > INFO: OpenWebBeans Container is starting...
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> org.apache.webbeans.plugins.PluginLoader
> > > >> > > > startUp
> > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> org.apache.webbeans.plugins.PluginLoader
> > > >> > > > startUp
> > > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> > [OpenWebBeansJsfPlugin]
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.cdi.BeansDeployer
> > > >> > > > > > > > validateInjectionPoints
> > > >> > > > > > > > INFO: All injection points were validated
> successfully.
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.cdi.OpenEJBLifecycle
> > > >> > > > > > > > startApplication
> > > >> > > > > > > > INFO: OpenWebBeans Container has started, it took [15]
> > ms.
> > > >> > > > > > > > using context file
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > >> > > > > > > > createApplication
> > > >> > > > > > > > INFO: Created Ejb(deployment-id=TestManagementService,
> > > >> > > > > > > > ejb-name=TestManagementService, container=My Singleton
> > > >> > Container)
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > >> > > > > > > > createApplication
> > > >> > > > > > > > INFO: Started Ejb(deployment-id=TestManagementService,
> > > >> > > > > > > > ejb-name=TestManagementService, container=My Singleton
> > > >> > Container)
> > > >> > > > > > > > 04-Jul-2012 12:52:13
> > > >> > > org.apache.openejb.assembler.classic.Assembler
> > > >> > > > > > > > createApplication
> > > >> > > > > > > > INFO: Deployed
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > >> > > > > > > safeBind
> > > >> > > > > > > > SEVERE: Error in safeBind method
> > > >> > > > > > > > javax.naming.NameNotFoundException: Name [openejb] is
> > not
> > > >> bound
> > > >> > > in
> > > >> > > > > this
> > > >> > > > > > > > Context. Unable to find [openejb].
> > > >> > > > > > > > at
> > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > >> > > > > > > > at
> > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > >> > > > > > > > at
> > > >> > > > >
> > > >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > >> > > > > > > > at
> > > >> > > > > > >
> > > >> > > >
> > > >>
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > >> > > > > > > > at
> > > >> > > >
> > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > >> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > >> Method)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > >> > > > > > > > at
> > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > >> > > > > > > > at
> > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > >> > > > > > > > at
> > > >> > > > >
> > > >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > >
> > > >> > > >
> > > >> >
> > > >>
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > >> > > > > > > safeBind
> > > >> > > > > > > > INFO: TransactionManager already bound, ignoring
> > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > >> > > > > > > safeBind
> > > >> > > > > > > > INFO: TransactionSynchronizationRegistry already
> bound,
> > > >> > ignoring
> > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > >> > > > > > > safeBind
> > > >> > > > > > > > SEVERE: Error in safeBind method
> > > >> > > > > > > > javax.naming.NameNotFoundException: No ORB registered
> > with
> > > >> the
> > > >> > > > > OpenEJB
> > > >> > > > > > > > system
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > >> > > > > > > > at
> > > >> > > > > > >
> > > >> > > > >
> > > >> > >
> > > >>
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > >> > > > > > > > at
> > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > >> > > > > > > > at
> > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > >> > > > > > > > at
> > > >> > > > >
> > > >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > >> > > > > > > > at
> > > >> > > > > > >
> > > >> > > >
> > > >>
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > >> > > > > > > > at
> > > >> > > >
> > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > >> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > >> Method)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > >> > > > > > > > at
> > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > >> > > > > > > > at
> > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > >> > > > > > > > at
> > > >> > > > >
> > > >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > >
> > > >> > > >
> > > >> >
> > > >>
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > >> > > > > > > safeBind
> > > >> > > > > > > > SEVERE: Error in safeBind method
> > > >> > > > > > > > javax.naming.NameNotFoundException: No HandleDelegate
> > > >> > registered
> > > >> > > > with
> > > >> > > > > > the
> > > >> > > > > > > > OpenEJB system
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > >> > > > > > > > at
> > > >> > > > > > >
> > > >> > > > >
> > > >> > >
> > > >>
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > >> > > > > > > > at
> > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > >> > > > > > > > at
> > > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > >> > > > > > > > at
> > > >> > > > >
> > > >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > >> > > > > > > > at
> > > >> > > > > > >
> > > >> > > >
> > > >>
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > >> > > > > > > > at
> > > >> > > >
> > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > >> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > >> Method)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > >> > > > > > > > at
> > > >> > > > > >
> > > >> > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > >> > > > > > > > at
> > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > >> > > > > > > > at
> > > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > >> > > > > > > > at
> > > >> > > > >
> > > >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > >
> > > >> > > >
> > > >> >
> > > >>
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > >> > > > > > > > at
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > >> > > > > > > > 04-Jul-2012 12:52:14
> org.apache.cxf.endpoint.ServerImpl
> > > >> > > > > initDestination
> > > >> > > > > > > > INFO: Setting the server's publish address to be
> > > >> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi
> > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > >> org.apache.openejb.server.rest.RESTService
> > > >> > > > > > deployEJB
> > > >> > > > > > > > INFO: REST Service:
> > > >> > > > > > > >
> http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> > EJB
> > > >> > > > > > > > TestManagementService
> > > >> > > > > > > > 04-Jul-2012 12:52:14
> > > >> org.apache.openejb.server.rest.RESTService
> > > >> > > > > > > > afterApplicationCreated
> > > >> > > > > > > > INFO: REST application deployed:
> > > >> > > > > > > > com.shenick.diversifeye.config.ApplicationConfig
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > > > Here is my persistence Unit:
> > > >> > > > > > > >
> > > >> > > > > > > > <persistence version="2.0" xmlns="
> > > >> > > > > > http://java.sun.com/xml/ns/persistence
> > > >> > > > > > > "
> > > >> > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > >> > > > > > > xsi:schemaLocation="
> > > >> > > > > > > > http://java.sun.com/xml/ns/persistence
> > > >> > > > > > > >
> > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > > >> ">
> > > >> > > > > > > > <persistence-unit name="JerseyRestfulWebServicePU"
> > > >> > > > > > > transaction-type="JTA">
> > > >> > > > > > > >
> > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > >> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
> > > >> > > > > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > >> > > > > > > >
> > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > >> > > > > > > > <properties>
> > > >> > > > > > > > <property name="hibernate.dialect"
> > > >> > > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > >> > > > > > > > <property name="hibernate.hbm2ddl.auto"
> value="update"/>
> > > >> > > > > > > > </properties>
> > > >> > > > > > > > </persistence-unit>
> > > >> > > > > > > > </persistence>
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > > > I have a context.xml and openejb.xml specified in the
> > > >> META-INF
> > > >> > > > folder
> > > >> > > > > > > >
> > > >> > > > > > > > openejb.xml:
> > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > >> > > > > > > > <openejb>
> > > >> > > > > > > > <Resource id="derbyDb" type="DataSource">
> > > >> > > > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > >> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > >> > > > > > > > UserName app
> > > >> > > > > > > > Password app
> > > >> > > > > > > > JtaManaged true
> > > >> > > > > > > > </Resource>
> > > >> > > > > > > > </openejb>
> > > >> > > > > > > >
> > > >> > > > > > > > and context.xml:
> > > >> > > > > > > >
> > > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > >> > > > > > > > <Context antiJARLocking="true"
> > path="/tomee-jee6-module"/>
> > > >> > > > > > > >
> > > >> > > > > > > > I also have the resource referenced in the web.xml
> file:
> > > >> > > > > > > > <web-app version="3.0" xmlns="
> > > >> > http://java.sun.com/xml/ns/javaee"
> > > >> > > > > > > > xmlns:xsi="
> > > >> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > > >> > xsi:schemaLocation="
> > > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > >> > > > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> > > >> > > > > > > > <session-config>
> > > >> > > > > > > > <session-timeout>
> > > >> > > > > > > > 30
> > > >> > > > > > > > </session-timeout>
> > > >> > > > > > > >   </session-config>
> > > >> > > > > > > > <resource-ref>
> > > >> > > > > > > > <description>
> > > >> > > > > > > > Object factory for MyBean instances.
> > > >> > > > > > > > </description>
> > > >> > > > > > > > <res-ref-name>
> > > >> > > > > > > > derbyDb
> > > >> > > > > > > > </res-ref-name>
> > > >> > > > > > > > <res-type>
> > > >> > > > > > > > javax.sql.DataSource
> > > >> > > > > > > > </res-type>
> > > >> > > > > > > > <res-auth>
> > > >> > > > > > > > Container
> > > >> > > > > > > > </res-auth>
> > > >> > > > > > > >   </resource-ref>
> > > >> > > > > > > > </web-app>
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > > > What am I doing wrong, or is it not possible to
> define a
> > > >> > > datasource
> > > >> > > > > at
> > > >> > > > > > a
> > > >> > > > > > > > project level, and it should only be referenced in the
> > > >> > tommee.xml
> > > >> > > > > file?
> > > >> > > > > > > >
> > > >> > > > > > > > Thanks in advance
> > > >> > > > > > > >
> > > >> > > > > > > > John McDonnell
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > --
> > > >> > > > > > John
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > --
> > > >> > > > John
> > > >> > > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >> > --
> > > >> > John
> > > >> >
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > John
> > > >
> >
>



-- 
John

Re: Project specific database

Posted by Romain Manni-Bucau <rm...@gmail.com>.
not sure i understood correctly,

typically tomee.xml is in conf/

resources.xml is in META-INF like
http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/src/main/resources/META-INF/resources.xml

the resources.xml uses the webapp classloader where tomee.xml creates
resources before any application deployment

- Romain


2012/7/5 John McDonnell <mc...@gmail.com>

> Sorry but I am just home from a night out ....  I have tried calling the
> xml file openejb.xml tomee.xml and before I posted on this mailing list I
> have also tried calling the config file resources.xml and neither of those
> three options worked.
>
> Is the contents of each file correct? If so this is either a bug or a
> limitation of ur project and so I should go back to defining the
> datatsource in the servers tomee.xml file which seems over the top
>
> John
> On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <rm...@gmail.com>
> wrote:
> >
> > you didnt add derby in tomee.xml?
> >
> > if you want to deliver derby in your webapp use META-INF/resources.xml
> > instead of tomee.xml.
> >
> > Note: using apache maven snapshot repository you can add to your pom
> (think
> > to rename your final to be the context name):
> >
> > <plugin>
> >             <groupId>org.apache.openejb.maven</groupId>
> >             <artifactId>tomee-maven-plugin</artifactId>
> >             <version>1.0.0-SNAPSHOT</version>
> >             <configuration>
> >               <tomeeClassifier>jaxrs</tomeeClassifier>
> >               <libs>
> >                 <lib>dom4j:dom4j:1.6.1</lib>
> >                 <lib>antlr:antlr:2.7.6</lib>
> >                 <lib>cglib:cglib:2.1_3</lib>
> >                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
> >                 <lib>org.hibernate:hibernate:3.2.5.ga</lib>
> >                 <lib>commons-collections:commons-collections:2.1.1</lib>
> >                 <lib>org.hibernate:hibernate-entitymanager:3.3.2.GA
> </lib>
> >                 <lib>org.hibernate:hibernate-annotations:3.3.1.GA</lib>
> >                 <lib>org.hibernate:hibernate-commons-annotations:
> 3.0.0.ga
> > </lib>
> >                 <lib>org.hibernate:ejb3-persistence:1.0.1.GA</lib> <!--
> > derby and so on can be added the same way -->
> >               </libs>
> >             </configuration>
> >           </plugin>
> >
> > - Romain
> >
> >
> > 2012/7/4 John McDonnell <mc...@gmail.com>
> >
> > > Okay,
> > >
> > > I have zipped up the maven project which contains the 2 modules.  The
> core
> > > module is just a simple library which is used by the TomEE Restful JEE6
> > > Module.
> > >
> > >
> > > I have the following Jars in the tomee/lib/ dir:
> > >
> > > cglib 2.1_3
> > > hibernate 3.2.5.GA
> > > hibernate-annotations 3.3.1.GA
> > > hibernate-commons-annotations 3.3.1.GA
> > > dom4j 1.6.1
> > > asm 1.5.3
> > > asm-attr 1.5.3
> > >
> > >
> > > and I have editted line 294 of catalina.bat to set the
> > > javax.persistence.provider property:
> > > set
> > >
>
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> > >
> > >
> > > Hope this helps!
> > >
> > >
> > > John McDonnell
> > >
> > >
> > > On 4 July 2012 15:22, Jean-Louis MONTEIRO <je...@gmail.com> wrote:
> > >
> > >> Any chance, you could share a simple example to reproduce the issue?
> > >> That'd be easier to work on maybe.
> > >>
> > >> Jean-Louis
> > >>
> > >> 2012/7/4 John McDonnell <mc...@gmail.com>
> > >>
> > >> > I renamed the openejb.xml file to tomee.xml (its still in the
> META-INF
> > >> > folder) and it looks like this now:
> > >> >
> > >> > <?xml version="1.0" encoding="UTF-8"?>
> > >> > <tomee>
> > >> > <Resource id="derbyDb" type="DataSource">
> > >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > >> > JdbcUrl jdbc:derby://localhost:1527/sample
> > >> > UserName app
> > >> > Password app
> > >> > JtaManaged true
> > >> > </Resource>
> > >> > </tomee>
> > >> >
> > >> >
> > >> > No joy again as the application is still using the HSQL database as
> > >> opposed
> > >> > to the Derby one.
> > >> >
> > >> > Any other suggestions?
> > >> >
> > >> >
> > >> > John
> > >> >
> > >> > On 4 July 2012 15:12, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
> > >> >
> > >> > > hmm, try tomee.xml instead of openejb.xml
> > >> > >
> > >> > > - Romain
> > >> > >
> > >> > >
> > >> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > >> > >
> > >> > > > I have downloaded the the snapshot of 1.1.0 and deployed the
> > >> > application,
> > >> > > > but no luck.
> > >> > > >
> > >> > > > when deploying the application, the application still uses HSQL
> for
> > >> the
> > >> > > > database, and not the defined Derby database.  Is there a
> problem
> > >> with
> > >> > my
> > >> > > > configuration? (context.xml/openejb.xml/web.xml)
> > >> > > >
> > >> > > > John
> > >> > > >
> > >> > > >
> > >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <rmannibucau@gmail.com
> >
> > >> > wrote:
> > >> > > >
> > >> > > > > yep that's the same way netbeans deploys
> > >> > > > >
> > >> > > > > - Romain
> > >> > > > >
> > >> > > > >
> > >> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > >> > > > >
> > >> > > > > > Hey, thanks for the fast reply...
> > >> > > > > >
> > >> > > > > > I dont use netbeans for deploying, I use to to build the
> maven
> > >> > > project,
> > >> > > > > and
> > >> > > > > > then I use the management web app "/manager" to deploy.
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > I'll get the snapshot anyways and try that out.
> > >> > > > > >
> > >> > > > > > John
> > >> > > > > >
> > >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >> >
> > >> > > > wrote:
> > >> > > > > >
> > >> > > > > > > Hi,
> > >> > > > > > >
> > >> > > > > > > do you use netbeans to deploy?
> > >> > > > > > >
> > >> > > > > > > maybe try out our snapshot since we fixed some issues
> > >> regarding
> > >> > the
> > >> > > > way
> > >> > > > > > > netbeans deploys.
> > >> > > > > > >
> > >> > > > > > > Side note: it is tomee.xml not tommee.xml
> > >> > > > > > >
> > >> > > > > > > - Romain
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > >> > > > > > >
> > >> > > > > > > > I recently started looking to convert an JEE6
> application
> > >> > working
> > >> > > > in
> > >> > > > > > > > Glassfish application server to using TomEE+ 1.0 and I
> am
> > >> > having
> > >> > > an
> > >> > > > > > issue
> > >> > > > > > > > with setting up the database.
> > >> > > > > > > >
> > >> > > > > > > > If I define the Resource in the tomee.xml file in the
> > >> > > > tomeeDir/conf/
> > >> > > > > > > > directory I am able to use the database I specify, which
> is
> > >> a
> > >> > > Derby
> > >> > > > > > > > database, but I want to be able to define the database
> to be
> > >> > > > project
> > >> > > > > > > > specific, like I was able to do in Glassfish.
> > >> > > > > > > >
> > >> > > > > > > > What happens at the moment when I deploy the application
> I
> > >> > notice
> > >> > > > in
> > >> > > > > > the
> > >> > > > > > > > logs that TomEE adjusts the PU defined to use the
> Default
> > >> JDBC
> > >> > > > > > Database,
> > >> > > > > > > > which was created, as I have removed the definitition of
> it
> > >> > from
> > >> > > > the
> > >> > > > > > > > tomee.xml file.
> > >> > > > > > > >
> > >> > > > > > > > Here is the logs when deploying my project:
> > >> > > > > > > >
> > >> > > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > >> > > > > > > > 04-Jul-2012 12:52:12
> org.apache.catalina.startup.HostConfig
> > >> > > > deployWAR
> > >> > > > > > > > INFO: Deploying web application archive
> > >> > > > > > > >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > >> > > > > > > > 04-Jul-2012 12:52:12
> > >> org.apache.openejb.config.DeploymentLoader
> > >> > > > > > > > addFacesConfigs
> > >> > > > > > > > INFO: faces config file is null
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > org.apache.openejb.config.ConfigurationFactory
> > >> > > > > > > > configureApplication
> > >> > > > > > > > INFO: Configuring enterprise application:
> > >> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > org.apache.openejb.config.InitEjbDeployments
> > >> > > > > > deploy
> > >> > > > > > > > INFO: Auto-deploying ejb
> localhost/tomee-jee6-module.Comp:
> > >> > > > > > > >
> > >> EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > org.apache.openejb.config.InitEjbDeployments
> > >> > > > > > deploy
> > >> > > > > > > > INFO: Auto-deploying ejb TestManagementService:
> > >> > > > > > > > EjbDeployment(deployment-id=TestManagementService)
> > >> > > > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.config.AutoConfig
> > >> > deploy
> > >> > > > > > > > INFO: *Configuring
> > >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > >> > > > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.config.AutoConfig
> > >> > > > > > > setJtaDataSource
> > >> > > > > > > > INFO: Adjusting PersistenceUnit
> JerseyRestfulWebServicePU
> > >> > > > > > > <jta-data-source>
> > >> > > > > > > > to Resource ID 'Default JDBC Database' from 'derbyDb'
> > >> > > > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.config.AutoConfig
> > >> > > > > > > > setNonJtaDataSource
> > >> > > > > > > > INFO: Adjusting PersistenceUnit
> JerseyRestfulWebServicePU
> > >> > > > > > > > <non-jta-data-source> to Resource ID 'Default JDBC
> > >> > > DatabaseNonJta'
> > >> > > > > from
> > >> > > > > > > > 'null'*
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> org.apache.openejb.config.AppInfoBuilder
> > >> > > build
> > >> > > > > > > > INFO: Enterprise application
> > >> > > > > > > >
> "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > >> > > loaded.
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > org.apache.openejb.assembler.classic.Assembler
> > >> > > > > > > > createApplication
> > >> > > > > > > > INFO: Assembling app:
> > >> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> org.apache.bval.jsr303.ConfigurationImpl
> > >> > > > > > > > parseValidationXml
> > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> org.apache.bval.jsr303.ConfigurationImpl
> > >> > > > > > > > parseValidationXml
> > >> > > > > > > > INFO: ignoreXmlConfiguration == true
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration
> > >> > > configure
> > >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > >> > > > > > > > name: JerseyRestfulWebServicePU
> > >> > > > > > > > ...]
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder
> > >> > bindClass
> > >> > > > > > > > INFO: Binding entity from annotated class:
> > >> > > > > > > > com.shenick.diversifeye.domain.Host
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> org.hibernate.cfg.annotations.EntityBinder
> > >> > > > > > bindTable
> > >> > > > > > > > INFO: Bind entity com.shenick.diversifeye.domain.Host on
> > >> table
> > >> > > Host
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> org.hibernate.cfg.AnnotationConfiguration
> > >> > > > > > > > secondPassCompile
> > >> > > > > > > > INFO: Hibernate Validator not found: ignoring
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > > > org.hibernate.connection.ConnectionProviderFactory
> > >> > > > > > > > newConnectionProvider
> > >> > > > > > > > INFO: Initializing connection provider:
> > >> > > > > > > >
> > >> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > > > > > >
> > >> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > >> > > > > > > configure
> > >> > > > > > > > INFO: Using provided datasource
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: JDBC driver: HSQL Database Engine Driver, version:
> > >> 2.2.4
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Automatic flush during beforeCompletion():
> disabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Automatic session close at end of transaction:
> > >> disabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Scrollable result sets: enabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Connection release mode: auto
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Default batch fetch size: 1
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Generate SQL with comments: disabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Order SQL updates by primary key: disabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Order SQL inserts for batching: disabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > > > > > createQueryTranslatorFactory
> > >> > > > > > > > INFO: Query translator:
> > >> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Query language substitutions: {}
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: JPA-QL strict compliance: enabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Second-level cache: enabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Query cache: disabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > > > > createCacheProvider
> > >> > > > > > > > INFO: Cache provider:
> org.hibernate.cache.NoCacheProvider
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Optimize cache for minimal puts: disabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Structured second-level cache entries: disabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Statistics: disabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Deleted entity synthetic identifier rollback:
> disabled
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Default entity-mode: pojo
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > >> > > > buildSettings
> > >> > > > > > > > INFO: Named query checking : enabled
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > >> > > > > > > > createEntityManagerFactory
> > >> > > > > > > > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence) -
> provider
> > >> > time
> > >> > > > > 401ms*
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > >> > > > > > > bind
> > >> > > > > > > > INFO:
> Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> > >> -->
> > >> > > > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > >> > > > > > > bind
> > >> > > > > > > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> > >> > > > > > > > Ejb(deployment-id=TestManagementService)
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > >> > > > > > > bind
> > >> > > > > > > > INFO:
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > >> > > > > > > bind
> > >> > > > > > > > INFO:
> > >> > > > > >
> > >> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > >> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder
> build
> > >> > > > > > > > INFO: existing thread singleton service in
> SystemInstance()
> > >> > > > > > > >
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > >> > > > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.cdi.OpenEJBLifecycle
> > >> > > > > > > > startApplication
> > >> > > > > > > > INFO: OpenWebBeans Container is starting...
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> org.apache.webbeans.plugins.PluginLoader
> > >> > > > startUp
> > >> > > > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> org.apache.webbeans.plugins.PluginLoader
> > >> > > > startUp
> > >> > > > > > > > INFO: Adding OpenWebBeansPlugin :
> [OpenWebBeansJsfPlugin]
> > >> > > > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.cdi.BeansDeployer
> > >> > > > > > > > validateInjectionPoints
> > >> > > > > > > > INFO: All injection points were validated successfully.
> > >> > > > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.cdi.OpenEJBLifecycle
> > >> > > > > > > > startApplication
> > >> > > > > > > > INFO: OpenWebBeans Container has started, it took [15]
> ms.
> > >> > > > > > > > using context file
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > org.apache.openejb.assembler.classic.Assembler
> > >> > > > > > > > createApplication
> > >> > > > > > > > INFO: Created Ejb(deployment-id=TestManagementService,
> > >> > > > > > > > ejb-name=TestManagementService, container=My Singleton
> > >> > Container)
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > org.apache.openejb.assembler.classic.Assembler
> > >> > > > > > > > createApplication
> > >> > > > > > > > INFO: Started Ejb(deployment-id=TestManagementService,
> > >> > > > > > > > ejb-name=TestManagementService, container=My Singleton
> > >> > Container)
> > >> > > > > > > > 04-Jul-2012 12:52:13
> > >> > > org.apache.openejb.assembler.classic.Assembler
> > >> > > > > > > > createApplication
> > >> > > > > > > > INFO: Deployed
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > >> > > > > > > > 04-Jul-2012 12:52:14
> > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > >> > > > > > > safeBind
> > >> > > > > > > > SEVERE: Error in safeBind method
> > >> > > > > > > > javax.naming.NameNotFoundException: Name [openejb] is
> not
> > >> bound
> > >> > > in
> > >> > > > > this
> > >> > > > > > > > Context. Unable to find [openejb].
> > >> > > > > > > > at
> > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > >> > > > > > > > at
> > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > >> > > > > > > > at
> > >> > > > >
> > >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > >> > > > > > > > at
> > >> > > > > > >
> > >> > > >
> > >>
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > >> > > > > > > > at
> > >> > > > > >
> > >> >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > >> > > > > > > > at
> > >> > > > > >
> > >> >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > >> > > > > > > > at
> > >> > > > > >
> > >> > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > >> > > > > > > > at
> > >> > > >
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > >> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > >> Method)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > >> > > > > > > > at
> > >> > > > > >
> > >> > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > >> > > > > > > > at
> > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > >> > > > > > > > at
> > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > >> > > > > > > > at
> > >> > > > >
> > >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > >
> > >> > > >
> > >> >
> > >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > >> > > > > > > > 04-Jul-2012 12:52:14
> > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > >> > > > > > > safeBind
> > >> > > > > > > > INFO: TransactionManager already bound, ignoring
> > >> > > > > > > > 04-Jul-2012 12:52:14
> > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > >> > > > > > > safeBind
> > >> > > > > > > > INFO: TransactionSynchronizationRegistry already bound,
> > >> > ignoring
> > >> > > > > > > > 04-Jul-2012 12:52:14
> > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > >> > > > > > > safeBind
> > >> > > > > > > > SEVERE: Error in safeBind method
> > >> > > > > > > > javax.naming.NameNotFoundException: No ORB registered
> with
> > >> the
> > >> > > > > OpenEJB
> > >> > > > > > > > system
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > >> > > > > > > > at
> > >> > > > > > >
> > >> > > > >
> > >> > >
> > >>
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > >> > > > > > > > at
> > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > >> > > > > > > > at
> > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > >> > > > > > > > at
> > >> > > > >
> > >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > >> > > > > > > > at
> > >> > > > > > >
> > >> > > >
> > >>
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > >> > > > > > > > at
> > >> > > > > >
> > >> >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > >> > > > > > > > at
> > >> > > > > >
> > >> >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > >> > > > > > > > at
> > >> > > > > >
> > >> > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > >> > > > > > > > at
> > >> > > >
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > >> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > >> Method)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > >> > > > > > > > at
> > >> > > > > >
> > >> > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > >> > > > > > > > at
> > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > >> > > > > > > > at
> > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > >> > > > > > > > at
> > >> > > > >
> > >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > >
> > >> > > >
> > >> >
> > >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > >> > > > > > > > 04-Jul-2012 12:52:14
> > >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > >> > > > > > > safeBind
> > >> > > > > > > > SEVERE: Error in safeBind method
> > >> > > > > > > > javax.naming.NameNotFoundException: No HandleDelegate
> > >> > registered
> > >> > > > with
> > >> > > > > > the
> > >> > > > > > > > OpenEJB system
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > >> > > > > > > > at
> > >> > > > > > >
> > >> > > > >
> > >> > >
> > >>
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > >> > > > > > > > at
> > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > >> > > > > > > > at
> > >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > >> > > > > > > > at
> > >> > > > >
> > >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > >> > > > > > > > at
> > >> > > > > > >
> > >> > > >
> > >>
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > >> > > > > > > > at
> > >> > > > > >
> > >> >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > >> > > > > > > > at
> > >> > > > > >
> > >> >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > >> > > > > > > > at
> > >> > > > > >
> > >> > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > >> > > > > > > > at
> > >> > > >
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > >> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > >> Method)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > >> > > > > > > > at
> > >> > > > > >
> > >> > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > >> > > > > > > > at
> > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > >> > > > > > > > at
> > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > >> > > > > > > > at
> > >> > > > >
> > >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > >
> > >> > > >
> > >> >
> > >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > >> > > > > > > > at
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > >> > > > > > > > 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl
> > >> > > > > initDestination
> > >> > > > > > > > INFO: Setting the server's publish address to be
> > >> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi
> > >> > > > > > > > 04-Jul-2012 12:52:14
> > >> org.apache.openejb.server.rest.RESTService
> > >> > > > > > deployEJB
> > >> > > > > > > > INFO: REST Service:
> > >> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
> EJB
> > >> > > > > > > > TestManagementService
> > >> > > > > > > > 04-Jul-2012 12:52:14
> > >> org.apache.openejb.server.rest.RESTService
> > >> > > > > > > > afterApplicationCreated
> > >> > > > > > > > INFO: REST application deployed:
> > >> > > > > > > > com.shenick.diversifeye.config.ApplicationConfig
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > Here is my persistence Unit:
> > >> > > > > > > >
> > >> > > > > > > > <persistence version="2.0" xmlns="
> > >> > > > > > http://java.sun.com/xml/ns/persistence
> > >> > > > > > > "
> > >> > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > >> > > > > > > xsi:schemaLocation="
> > >> > > > > > > > http://java.sun.com/xml/ns/persistence
> > >> > > > > > > >
> http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> > >> ">
> > >> > > > > > > > <persistence-unit name="JerseyRestfulWebServicePU"
> > >> > > > > > > transaction-type="JTA">
> > >> > > > > > > >
> <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > >> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
> > >> > > > > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > >> > > > > > > >
> <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > >> > > > > > > > <properties>
> > >> > > > > > > > <property name="hibernate.dialect"
> > >> > > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > >> > > > > > > > <property name="hibernate.hbm2ddl.auto" value="update"/>
> > >> > > > > > > > </properties>
> > >> > > > > > > > </persistence-unit>
> > >> > > > > > > > </persistence>
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > I have a context.xml and openejb.xml specified in the
> > >> META-INF
> > >> > > > folder
> > >> > > > > > > >
> > >> > > > > > > > openejb.xml:
> > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > >> > > > > > > > <openejb>
> > >> > > > > > > > <Resource id="derbyDb" type="DataSource">
> > >> > > > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > >> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > >> > > > > > > > UserName app
> > >> > > > > > > > Password app
> > >> > > > > > > > JtaManaged true
> > >> > > > > > > > </Resource>
> > >> > > > > > > > </openejb>
> > >> > > > > > > >
> > >> > > > > > > > and context.xml:
> > >> > > > > > > >
> > >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > >> > > > > > > > <Context antiJARLocking="true"
> path="/tomee-jee6-module"/>
> > >> > > > > > > >
> > >> > > > > > > > I also have the resource referenced in the web.xml file:
> > >> > > > > > > > <web-app version="3.0" xmlns="
> > >> > http://java.sun.com/xml/ns/javaee"
> > >> > > > > > > > xmlns:xsi="
> > >> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > >> > xsi:schemaLocation="
> > >> > > > > > > > http://java.sun.com/xml/ns/javaee
> > >> > > > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> > >> > > > > > > > <session-config>
> > >> > > > > > > > <session-timeout>
> > >> > > > > > > > 30
> > >> > > > > > > > </session-timeout>
> > >> > > > > > > >   </session-config>
> > >> > > > > > > > <resource-ref>
> > >> > > > > > > > <description>
> > >> > > > > > > > Object factory for MyBean instances.
> > >> > > > > > > > </description>
> > >> > > > > > > > <res-ref-name>
> > >> > > > > > > > derbyDb
> > >> > > > > > > > </res-ref-name>
> > >> > > > > > > > <res-type>
> > >> > > > > > > > javax.sql.DataSource
> > >> > > > > > > > </res-type>
> > >> > > > > > > > <res-auth>
> > >> > > > > > > > Container
> > >> > > > > > > > </res-auth>
> > >> > > > > > > >   </resource-ref>
> > >> > > > > > > > </web-app>
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > What am I doing wrong, or is it not possible to define a
> > >> > > datasource
> > >> > > > > at
> > >> > > > > > a
> > >> > > > > > > > project level, and it should only be referenced in the
> > >> > tommee.xml
> > >> > > > > file?
> > >> > > > > > > >
> > >> > > > > > > > Thanks in advance
> > >> > > > > > > >
> > >> > > > > > > > John McDonnell
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > --
> > >> > > > > > John
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > > John
> > >> > > >
> > >> > >
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > John
> > >> >
> > >>
> > >
> > >
> > >
> > > --
> > > John
> > >
>

Re: Project specific database

Posted by John McDonnell <mc...@gmail.com>.
Sorry but I am just home from a night out ....  I have tried calling the
xml file openejb.xml tomee.xml and before I posted on this mailing list I
have also tried calling the config file resources.xml and neither of those
three options worked.

Is the contents of each file correct? If so this is either a bug or a
limitation of ur project and so I should go back to defining the
datatsource in the servers tomee.xml file which seems over the top

John
On Jul 4, 2012 8:29 PM, "Romain Manni-Bucau" <rm...@gmail.com> wrote:
>
> you didnt add derby in tomee.xml?
>
> if you want to deliver derby in your webapp use META-INF/resources.xml
> instead of tomee.xml.
>
> Note: using apache maven snapshot repository you can add to your pom
(think
> to rename your final to be the context name):
>
> <plugin>
>             <groupId>org.apache.openejb.maven</groupId>
>             <artifactId>tomee-maven-plugin</artifactId>
>             <version>1.0.0-SNAPSHOT</version>
>             <configuration>
>               <tomeeClassifier>jaxrs</tomeeClassifier>
>               <libs>
>                 <lib>dom4j:dom4j:1.6.1</lib>
>                 <lib>antlr:antlr:2.7.6</lib>
>                 <lib>cglib:cglib:2.1_3</lib>
>                 <lib>net.sf.ehcache:ehcache:1.2.3</lib>
>                 <lib>org.hibernate:hibernate:3.2.5.ga</lib>
>                 <lib>commons-collections:commons-collections:2.1.1</lib>
>                 <lib>org.hibernate:hibernate-entitymanager:3.3.2.GA</lib>
>                 <lib>org.hibernate:hibernate-annotations:3.3.1.GA</lib>
>                 <lib>org.hibernate:hibernate-commons-annotations:3.0.0.ga
> </lib>
>                 <lib>org.hibernate:ejb3-persistence:1.0.1.GA</lib> <!--
> derby and so on can be added the same way -->
>               </libs>
>             </configuration>
>           </plugin>
>
> - Romain
>
>
> 2012/7/4 John McDonnell <mc...@gmail.com>
>
> > Okay,
> >
> > I have zipped up the maven project which contains the 2 modules.  The
core
> > module is just a simple library which is used by the TomEE Restful JEE6
> > Module.
> >
> >
> > I have the following Jars in the tomee/lib/ dir:
> >
> > cglib 2.1_3
> > hibernate 3.2.5.GA
> > hibernate-annotations 3.3.1.GA
> > hibernate-commons-annotations 3.3.1.GA
> > dom4j 1.6.1
> > asm 1.5.3
> > asm-attr 1.5.3
> >
> >
> > and I have editted line 294 of catalina.bat to set the
> > javax.persistence.provider property:
> > set
> >
CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
> >
> >
> > Hope this helps!
> >
> >
> > John McDonnell
> >
> >
> > On 4 July 2012 15:22, Jean-Louis MONTEIRO <je...@gmail.com> wrote:
> >
> >> Any chance, you could share a simple example to reproduce the issue?
> >> That'd be easier to work on maybe.
> >>
> >> Jean-Louis
> >>
> >> 2012/7/4 John McDonnell <mc...@gmail.com>
> >>
> >> > I renamed the openejb.xml file to tomee.xml (its still in the
META-INF
> >> > folder) and it looks like this now:
> >> >
> >> > <?xml version="1.0" encoding="UTF-8"?>
> >> > <tomee>
> >> > <Resource id="derbyDb" type="DataSource">
> >> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> >> > JdbcUrl jdbc:derby://localhost:1527/sample
> >> > UserName app
> >> > Password app
> >> > JtaManaged true
> >> > </Resource>
> >> > </tomee>
> >> >
> >> >
> >> > No joy again as the application is still using the HSQL database as
> >> opposed
> >> > to the Derby one.
> >> >
> >> > Any other suggestions?
> >> >
> >> >
> >> > John
> >> >
> >> > On 4 July 2012 15:12, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> >> >
> >> > > hmm, try tomee.xml instead of openejb.xml
> >> > >
> >> > > - Romain
> >> > >
> >> > >
> >> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> >> > >
> >> > > > I have downloaded the the snapshot of 1.1.0 and deployed the
> >> > application,
> >> > > > but no luck.
> >> > > >
> >> > > > when deploying the application, the application still uses HSQL
for
> >> the
> >> > > > database, and not the defined Derby database.  Is there a problem
> >> with
> >> > my
> >> > > > configuration? (context.xml/openejb.xml/web.xml)
> >> > > >
> >> > > > John
> >> > > >
> >> > > >
> >> > > > On 4 July 2012 15:03, Romain Manni-Bucau <rm...@gmail.com>
> >> > wrote:
> >> > > >
> >> > > > > yep that's the same way netbeans deploys
> >> > > > >
> >> > > > > - Romain
> >> > > > >
> >> > > > >
> >> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> >> > > > >
> >> > > > > > Hey, thanks for the fast reply...
> >> > > > > >
> >> > > > > > I dont use netbeans for deploying, I use to to build the
maven
> >> > > project,
> >> > > > > and
> >> > > > > > then I use the management web app "/manager" to deploy.
> >> > > > > >
> >> > > > > >
> >> > > > > > I'll get the snapshot anyways and try that out.
> >> > > > > >
> >> > > > > > John
> >> > > > > >
> >> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <
rmannibucau@gmail.com
> >> >
> >> > > > wrote:
> >> > > > > >
> >> > > > > > > Hi,
> >> > > > > > >
> >> > > > > > > do you use netbeans to deploy?
> >> > > > > > >
> >> > > > > > > maybe try out our snapshot since we fixed some issues
> >> regarding
> >> > the
> >> > > > way
> >> > > > > > > netbeans deploys.
> >> > > > > > >
> >> > > > > > > Side note: it is tomee.xml not tommee.xml
> >> > > > > > >
> >> > > > > > > - Romain
> >> > > > > > >
> >> > > > > > >
> >> > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> >> > > > > > >
> >> > > > > > > > I recently started looking to convert an JEE6 application
> >> > working
> >> > > > in
> >> > > > > > > > Glassfish application server to using TomEE+ 1.0 and I am
> >> > having
> >> > > an
> >> > > > > > issue
> >> > > > > > > > with setting up the database.
> >> > > > > > > >
> >> > > > > > > > If I define the Resource in the tomee.xml file in the
> >> > > > tomeeDir/conf/
> >> > > > > > > > directory I am able to use the database I specify, which
is
> >> a
> >> > > Derby
> >> > > > > > > > database, but I want to be able to define the database
to be
> >> > > > project
> >> > > > > > > > specific, like I was able to do in Glassfish.
> >> > > > > > > >
> >> > > > > > > > What happens at the moment when I deploy the application
I
> >> > notice
> >> > > > in
> >> > > > > > the
> >> > > > > > > > logs that TomEE adjusts the PU defined to use the Default
> >> JDBC
> >> > > > > > Database,
> >> > > > > > > > which was created, as I have removed the definitition of
it
> >> > from
> >> > > > the
> >> > > > > > > > tomee.xml file.
> >> > > > > > > >
> >> > > > > > > > Here is the logs when deploying my project:
> >> > > > > > > >
> >> > > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> >> > > > > > > > 04-Jul-2012 12:52:12
org.apache.catalina.startup.HostConfig
> >> > > > deployWAR
> >> > > > > > > > INFO: Deploying web application archive
> >> > > > > > > >
C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> >> > > > > > > > 04-Jul-2012 12:52:12
> >> org.apache.openejb.config.DeploymentLoader
> >> > > > > > > > addFacesConfigs
> >> > > > > > > > INFO: faces config file is null
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > org.apache.openejb.config.ConfigurationFactory
> >> > > > > > > > configureApplication
> >> > > > > > > > INFO: Configuring enterprise application:
> >> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > org.apache.openejb.config.InitEjbDeployments
> >> > > > > > deploy
> >> > > > > > > > INFO: Auto-deploying ejb
localhost/tomee-jee6-module.Comp:
> >> > > > > > > >
> >> EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > org.apache.openejb.config.InitEjbDeployments
> >> > > > > > deploy
> >> > > > > > > > INFO: Auto-deploying ejb TestManagementService:
> >> > > > > > > > EjbDeployment(deployment-id=TestManagementService)
> >> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> >> > deploy
> >> > > > > > > > INFO: *Configuring
> >> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence)
> >> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> >> > > > > > > setJtaDataSource
> >> > > > > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> >> > > > > > > <jta-data-source>
> >> > > > > > > > to Resource ID 'Default JDBC Database' from 'derbyDb'
> >> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> >> > > > > > > > setNonJtaDataSource
> >> > > > > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> >> > > > > > > > <non-jta-data-source> to Resource ID 'Default JDBC
> >> > > DatabaseNonJta'
> >> > > > > from
> >> > > > > > > > 'null'*
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> org.apache.openejb.config.AppInfoBuilder
> >> > > build
> >> > > > > > > > INFO: Enterprise application
> >> > > > > > > >
"C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> >> > > loaded.
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > org.apache.openejb.assembler.classic.Assembler
> >> > > > > > > > createApplication
> >> > > > > > > > INFO: Assembling app:
> >> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> org.apache.bval.jsr303.ConfigurationImpl
> >> > > > > > > > parseValidationXml
> >> > > > > > > > INFO: ignoreXmlConfiguration == true
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> org.apache.bval.jsr303.ConfigurationImpl
> >> > > > > > > > parseValidationXml
> >> > > > > > > > INFO: ignoreXmlConfiguration == true
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration
> >> > > configure
> >> > > > > > > > INFO: Processing PersistenceUnitInfo [
> >> > > > > > > > name: JerseyRestfulWebServicePU
> >> > > > > > > > ...]
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder
> >> > bindClass
> >> > > > > > > > INFO: Binding entity from annotated class:
> >> > > > > > > > com.shenick.diversifeye.domain.Host
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> org.hibernate.cfg.annotations.EntityBinder
> >> > > > > > bindTable
> >> > > > > > > > INFO: Bind entity com.shenick.diversifeye.domain.Host on
> >> table
> >> > > Host
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> org.hibernate.cfg.AnnotationConfiguration
> >> > > > > > > > secondPassCompile
> >> > > > > > > > INFO: Hibernate Validator not found: ignoring
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > > > org.hibernate.connection.ConnectionProviderFactory
> >> > > > > > > > newConnectionProvider
> >> > > > > > > > INFO: Initializing connection provider:
> >> > > > > > > >
> >> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > > > > > >
> >> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> >> > > > > > > configure
> >> > > > > > > > INFO: Using provided datasource
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: JDBC driver: HSQL Database Engine Driver, version:
> >> 2.2.4
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Automatic flush during beforeCompletion(): disabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Automatic session close at end of transaction:
> >> disabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Scrollable result sets: enabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Connection release mode: auto
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Default batch fetch size: 1
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Generate SQL with comments: disabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Order SQL updates by primary key: disabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Order SQL inserts for batching: disabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > > > > > createQueryTranslatorFactory
> >> > > > > > > > INFO: Query translator:
> >> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Query language substitutions: {}
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: JPA-QL strict compliance: enabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Second-level cache: enabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Query cache: disabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > > > > createCacheProvider
> >> > > > > > > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Optimize cache for minimal puts: disabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Structured second-level cache entries: disabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Statistics: disabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Deleted entity synthetic identifier rollback:
disabled
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Default entity-mode: pojo
> >> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> >> > > > buildSettings
> >> > > > > > > > INFO: Named query checking : enabled
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> >> > > > > > > > createEntityManagerFactory
> >> > > > > > > > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> >> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence) -
provider
> >> > time
> >> > > > > 401ms*
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> >> > > > > > > bind
> >> > > > > > > > INFO:
Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> >> -->
> >> > > > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> >> > > > > > > bind
> >> > > > > > > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> >> > > > > > > > Ejb(deployment-id=TestManagementService)
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> >> > > > > > > bind
> >> > > > > > > > INFO:
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > > org.apache.openejb.assembler.classic.JndiBuilder
> >> > > > > > > bind
> >> > > > > > > > INFO:
> >> > > > > >
> >> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> >> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> >> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder
build
> >> > > > > > > > INFO: existing thread singleton service in
SystemInstance()
> >> > > > > > > >
org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> >> > > > > > > > 04-Jul-2012 12:52:13
org.apache.openejb.cdi.OpenEJBLifecycle
> >> > > > > > > > startApplication
> >> > > > > > > > INFO: OpenWebBeans Container is starting...
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> org.apache.webbeans.plugins.PluginLoader
> >> > > > startUp
> >> > > > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> org.apache.webbeans.plugins.PluginLoader
> >> > > > startUp
> >> > > > > > > > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> >> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
> >> > > > > > > > validateInjectionPoints
> >> > > > > > > > INFO: All injection points were validated successfully.
> >> > > > > > > > 04-Jul-2012 12:52:13
org.apache.openejb.cdi.OpenEJBLifecycle
> >> > > > > > > > startApplication
> >> > > > > > > > INFO: OpenWebBeans Container has started, it took [15]
ms.
> >> > > > > > > > using context file
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > org.apache.openejb.assembler.classic.Assembler
> >> > > > > > > > createApplication
> >> > > > > > > > INFO: Created Ejb(deployment-id=TestManagementService,
> >> > > > > > > > ejb-name=TestManagementService, container=My Singleton
> >> > Container)
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > org.apache.openejb.assembler.classic.Assembler
> >> > > > > > > > createApplication
> >> > > > > > > > INFO: Started Ejb(deployment-id=TestManagementService,
> >> > > > > > > > ejb-name=TestManagementService, container=My Singleton
> >> > Container)
> >> > > > > > > > 04-Jul-2012 12:52:13
> >> > > org.apache.openejb.assembler.classic.Assembler
> >> > > > > > > > createApplication
> >> > > > > > > > INFO: Deployed
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> >> > > > > > > > 04-Jul-2012 12:52:14
> >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> >> > > > > > > safeBind
> >> > > > > > > > SEVERE: Error in safeBind method
> >> > > > > > > > javax.naming.NameNotFoundException: Name [openejb] is not
> >> bound
> >> > > in
> >> > > > > this
> >> > > > > > > > Context. Unable to find [openejb].
> >> > > > > > > > at
> >> > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> >> > > > > > > > at
> >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> >> > > > > > > > at
> >> > > > >
> >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> >> > > > > > > > at
> >> > > > > > >
> >> > > >
> >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> >> > > > > > > > at
> >> > > > > >
> >> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> >> > > > > > > > at
> >> > > > > >
> >> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> >> > > > > > > > at
> >> > > > > >
> >> > >
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> >> > > > > > > > at
> >> > > >
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> >> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> Method)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> >> > > > > > > > at
> >> > > > > >
> >> > >
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> >> > > > > > > > at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> >> > > > > > > > at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> >> > > > > > > > at
> >> > > > >
> >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > >
> >> > > >
> >> >
> >>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> >> > > > > > > > 04-Jul-2012 12:52:14
> >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> >> > > > > > > safeBind
> >> > > > > > > > INFO: TransactionManager already bound, ignoring
> >> > > > > > > > 04-Jul-2012 12:52:14
> >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> >> > > > > > > safeBind
> >> > > > > > > > INFO: TransactionSynchronizationRegistry already bound,
> >> > ignoring
> >> > > > > > > > 04-Jul-2012 12:52:14
> >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> >> > > > > > > safeBind
> >> > > > > > > > SEVERE: Error in safeBind method
> >> > > > > > > > javax.naming.NameNotFoundException: No ORB registered
with
> >> the
> >> > > > > OpenEJB
> >> > > > > > > > system
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> >> > > > > > > > at
> >> > > > > > >
> >> > > > >
> >> > >
> >>
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> >> > > > > > > > at
> >> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> >> > > > > > > > at
> >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> >> > > > > > > > at
> >> > > > >
> >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> >> > > > > > > > at
> >> > > > > > >
> >> > > >
> >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> >> > > > > > > > at
> >> > > > > >
> >> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> >> > > > > > > > at
> >> > > > > >
> >> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> >> > > > > > > > at
> >> > > > > >
> >> > >
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> >> > > > > > > > at
> >> > > >
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> >> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> Method)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> >> > > > > > > > at
> >> > > > > >
> >> > >
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> >> > > > > > > > at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> >> > > > > > > > at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> >> > > > > > > > at
> >> > > > >
> >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > >
> >> > > >
> >> >
> >>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> >> > > > > > > > 04-Jul-2012 12:52:14
> >> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> >> > > > > > > safeBind
> >> > > > > > > > SEVERE: Error in safeBind method
> >> > > > > > > > javax.naming.NameNotFoundException: No HandleDelegate
> >> > registered
> >> > > > with
> >> > > > > > the
> >> > > > > > > > OpenEJB system
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> >> > > > > > > > at
> >> > > > > > >
> >> > > > >
> >> > >
> >>
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> >> > > > > > > > at
> >> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> >> > > > > > > > at
> >> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> >> > > > > > > > at
> >> > > > >
> >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> >> > > > > > > > at
> >> > > > > > >
> >> > > >
> >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> >> > > > > > > > at
> >> > > > > >
> >> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> >> > > > > > > > at
> >> > > > > >
> >> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> >> > > > > > > > at
> >> > > > > >
> >> > >
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> >> > > > > > > > at
> >> > > >
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> >> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> Method)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> >> > > > > > > > at
> >> > > > > >
> >> > >
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> >> > > > > > > > at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> >> > > > > > > > at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> >> > > > > > > > at
> >> > > > >
> >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > >
> >> > > >
> >> >
> >>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> >> > > > > > > > at
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> >> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> >> > > > > > > > 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl
> >> > > > > initDestination
> >> > > > > > > > INFO: Setting the server's publish address to be
> >> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi
> >> > > > > > > > 04-Jul-2012 12:52:14
> >> org.apache.openejb.server.rest.RESTService
> >> > > > > > deployEJB
> >> > > > > > > > INFO: REST Service:
> >> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*->
EJB
> >> > > > > > > > TestManagementService
> >> > > > > > > > 04-Jul-2012 12:52:14
> >> org.apache.openejb.server.rest.RESTService
> >> > > > > > > > afterApplicationCreated
> >> > > > > > > > INFO: REST application deployed:
> >> > > > > > > > com.shenick.diversifeye.config.ApplicationConfig
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > > > Here is my persistence Unit:
> >> > > > > > > >
> >> > > > > > > > <persistence version="2.0" xmlns="
> >> > > > > > http://java.sun.com/xml/ns/persistence
> >> > > > > > > "
> >> > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >> > > > > > > xsi:schemaLocation="
> >> > > > > > > > http://java.sun.com/xml/ns/persistence
> >> > > > > > > >
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
> >> ">
> >> > > > > > > > <persistence-unit name="JerseyRestfulWebServicePU"
> >> > > > > > > transaction-type="JTA">
> >> > > > > > > >
<provider>org.hibernate.ejb.HibernatePersistence</provider>
> >> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
> >> > > > > > > > <class>com.shenick.diversifeye.domain.Host</class>
> >> > > > > > > >
<exclude-unlisted-classes>false</exclude-unlisted-classes>
> >> > > > > > > > <properties>
> >> > > > > > > > <property name="hibernate.dialect"
> >> > > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> >> > > > > > > > <property name="hibernate.hbm2ddl.auto" value="update"/>
> >> > > > > > > > </properties>
> >> > > > > > > > </persistence-unit>
> >> > > > > > > > </persistence>
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > > > I have a context.xml and openejb.xml specified in the
> >> META-INF
> >> > > > folder
> >> > > > > > > >
> >> > > > > > > > openejb.xml:
> >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> >> > > > > > > > <openejb>
> >> > > > > > > > <Resource id="derbyDb" type="DataSource">
> >> > > > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> >> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> >> > > > > > > > UserName app
> >> > > > > > > > Password app
> >> > > > > > > > JtaManaged true
> >> > > > > > > > </Resource>
> >> > > > > > > > </openejb>
> >> > > > > > > >
> >> > > > > > > > and context.xml:
> >> > > > > > > >
> >> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> >> > > > > > > > <Context antiJARLocking="true"
path="/tomee-jee6-module"/>
> >> > > > > > > >
> >> > > > > > > > I also have the resource referenced in the web.xml file:
> >> > > > > > > > <web-app version="3.0" xmlns="
> >> > http://java.sun.com/xml/ns/javaee"
> >> > > > > > > > xmlns:xsi="
> >> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> >> > xsi:schemaLocation="
> >> > > > > > > > http://java.sun.com/xml/ns/javaee
> >> > > > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> >> > > > > > > > <session-config>
> >> > > > > > > > <session-timeout>
> >> > > > > > > > 30
> >> > > > > > > > </session-timeout>
> >> > > > > > > >   </session-config>
> >> > > > > > > > <resource-ref>
> >> > > > > > > > <description>
> >> > > > > > > > Object factory for MyBean instances.
> >> > > > > > > > </description>
> >> > > > > > > > <res-ref-name>
> >> > > > > > > > derbyDb
> >> > > > > > > > </res-ref-name>
> >> > > > > > > > <res-type>
> >> > > > > > > > javax.sql.DataSource
> >> > > > > > > > </res-type>
> >> > > > > > > > <res-auth>
> >> > > > > > > > Container
> >> > > > > > > > </res-auth>
> >> > > > > > > >   </resource-ref>
> >> > > > > > > > </web-app>
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > > > What am I doing wrong, or is it not possible to define a
> >> > > datasource
> >> > > > > at
> >> > > > > > a
> >> > > > > > > > project level, and it should only be referenced in the
> >> > tommee.xml
> >> > > > > file?
> >> > > > > > > >
> >> > > > > > > > Thanks in advance
> >> > > > > > > >
> >> > > > > > > > John McDonnell
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > > --
> >> > > > > > John
> >> > > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > John
> >> > > >
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > John
> >> >
> >>
> >
> >
> >
> > --
> > John
> >

Re: Project specific database

Posted by Romain Manni-Bucau <rm...@gmail.com>.
you didnt add derby in tomee.xml?

if you want to deliver derby in your webapp use META-INF/resources.xml
instead of tomee.xml.

Note: using apache maven snapshot repository you can add to your pom (think
to rename your final to be the context name):

<plugin>
            <groupId>org.apache.openejb.maven</groupId>
            <artifactId>tomee-maven-plugin</artifactId>
            <version>1.0.0-SNAPSHOT</version>
            <configuration>
              <tomeeClassifier>jaxrs</tomeeClassifier>
              <libs>
                <lib>dom4j:dom4j:1.6.1</lib>
                <lib>antlr:antlr:2.7.6</lib>
                <lib>cglib:cglib:2.1_3</lib>
                <lib>net.sf.ehcache:ehcache:1.2.3</lib>
                <lib>org.hibernate:hibernate:3.2.5.ga</lib>
                <lib>commons-collections:commons-collections:2.1.1</lib>
                <lib>org.hibernate:hibernate-entitymanager:3.3.2.GA</lib>
                <lib>org.hibernate:hibernate-annotations:3.3.1.GA</lib>
                <lib>org.hibernate:hibernate-commons-annotations:3.0.0.ga
</lib>
                <lib>org.hibernate:ejb3-persistence:1.0.1.GA</lib> <!--
derby and so on can be added the same way -->
              </libs>
            </configuration>
          </plugin>

- Romain


2012/7/4 John McDonnell <mc...@gmail.com>

> Okay,
>
> I have zipped up the maven project which contains the 2 modules.  The core
> module is just a simple library which is used by the TomEE Restful JEE6
> Module.
>
>
> I have the following Jars in the tomee/lib/ dir:
>
> cglib 2.1_3
> hibernate 3.2.5.GA
> hibernate-annotations 3.3.1.GA
> hibernate-commons-annotations 3.3.1.GA
> dom4j 1.6.1
> asm 1.5.3
> asm-attr 1.5.3
>
>
> and I have editted line 294 of catalina.bat to set the
> javax.persistence.provider property:
> set
> CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence
>
>
> Hope this helps!
>
>
> John McDonnell
>
>
> On 4 July 2012 15:22, Jean-Louis MONTEIRO <je...@gmail.com> wrote:
>
>> Any chance, you could share a simple example to reproduce the issue?
>> That'd be easier to work on maybe.
>>
>> Jean-Louis
>>
>> 2012/7/4 John McDonnell <mc...@gmail.com>
>>
>> > I renamed the openejb.xml file to tomee.xml (its still in the META-INF
>> > folder) and it looks like this now:
>> >
>> > <?xml version="1.0" encoding="UTF-8"?>
>> > <tomee>
>> > <Resource id="derbyDb" type="DataSource">
>> > JdbcDriver org.apache.derby.jdbc.ClientDriver
>> > JdbcUrl jdbc:derby://localhost:1527/sample
>> > UserName app
>> > Password app
>> > JtaManaged true
>> > </Resource>
>> > </tomee>
>> >
>> >
>> > No joy again as the application is still using the HSQL database as
>> opposed
>> > to the Derby one.
>> >
>> > Any other suggestions?
>> >
>> >
>> > John
>> >
>> > On 4 July 2012 15:12, Romain Manni-Bucau <rm...@gmail.com> wrote:
>> >
>> > > hmm, try tomee.xml instead of openejb.xml
>> > >
>> > > - Romain
>> > >
>> > >
>> > > 2012/7/4 John McDonnell <mc...@gmail.com>
>> > >
>> > > > I have downloaded the the snapshot of 1.1.0 and deployed the
>> > application,
>> > > > but no luck.
>> > > >
>> > > > when deploying the application, the application still uses HSQL for
>> the
>> > > > database, and not the defined Derby database.  Is there a problem
>> with
>> > my
>> > > > configuration? (context.xml/openejb.xml/web.xml)
>> > > >
>> > > > John
>> > > >
>> > > >
>> > > > On 4 July 2012 15:03, Romain Manni-Bucau <rm...@gmail.com>
>> > wrote:
>> > > >
>> > > > > yep that's the same way netbeans deploys
>> > > > >
>> > > > > - Romain
>> > > > >
>> > > > >
>> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
>> > > > >
>> > > > > > Hey, thanks for the fast reply...
>> > > > > >
>> > > > > > I dont use netbeans for deploying, I use to to build the maven
>> > > project,
>> > > > > and
>> > > > > > then I use the management web app "/manager" to deploy.
>> > > > > >
>> > > > > >
>> > > > > > I'll get the snapshot anyways and try that out.
>> > > > > >
>> > > > > > John
>> > > > > >
>> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <rmannibucau@gmail.com
>> >
>> > > > wrote:
>> > > > > >
>> > > > > > > Hi,
>> > > > > > >
>> > > > > > > do you use netbeans to deploy?
>> > > > > > >
>> > > > > > > maybe try out our snapshot since we fixed some issues
>> regarding
>> > the
>> > > > way
>> > > > > > > netbeans deploys.
>> > > > > > >
>> > > > > > > Side note: it is tomee.xml not tommee.xml
>> > > > > > >
>> > > > > > > - Romain
>> > > > > > >
>> > > > > > >
>> > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
>> > > > > > >
>> > > > > > > > I recently started looking to convert an JEE6 application
>> > working
>> > > > in
>> > > > > > > > Glassfish application server to using TomEE+ 1.0 and I am
>> > having
>> > > an
>> > > > > > issue
>> > > > > > > > with setting up the database.
>> > > > > > > >
>> > > > > > > > If I define the Resource in the tomee.xml file in the
>> > > > tomeeDir/conf/
>> > > > > > > > directory I am able to use the database I specify, which is
>> a
>> > > Derby
>> > > > > > > > database, but I want to be able to define the database to be
>> > > > project
>> > > > > > > > specific, like I was able to do in Glassfish.
>> > > > > > > >
>> > > > > > > > What happens at the moment when I deploy the application I
>> > notice
>> > > > in
>> > > > > > the
>> > > > > > > > logs that TomEE adjusts the PU defined to use the Default
>> JDBC
>> > > > > > Database,
>> > > > > > > > which was created, as I have removed the definitition of it
>> > from
>> > > > the
>> > > > > > > > tomee.xml file.
>> > > > > > > >
>> > > > > > > > Here is the logs when deploying my project:
>> > > > > > > >
>> > > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
>> > > > > > > > 04-Jul-2012 12:52:12 org.apache.catalina.startup.HostConfig
>> > > > deployWAR
>> > > > > > > > INFO: Deploying web application archive
>> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
>> > > > > > > > 04-Jul-2012 12:52:12
>> org.apache.openejb.config.DeploymentLoader
>> > > > > > > > addFacesConfigs
>> > > > > > > > INFO: faces config file is null
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > org.apache.openejb.config.ConfigurationFactory
>> > > > > > > > configureApplication
>> > > > > > > > INFO: Configuring enterprise application:
>> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
>> > > > > > > > 04-Jul-2012 12:52:13
>> > org.apache.openejb.config.InitEjbDeployments
>> > > > > > deploy
>> > > > > > > > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
>> > > > > > > >
>> EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
>> > > > > > > > 04-Jul-2012 12:52:13
>> > org.apache.openejb.config.InitEjbDeployments
>> > > > > > deploy
>> > > > > > > > INFO: Auto-deploying ejb TestManagementService:
>> > > > > > > > EjbDeployment(deployment-id=TestManagementService)
>> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
>> > deploy
>> > > > > > > > INFO: *Configuring
>> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
>> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence)
>> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
>> > > > > > > setJtaDataSource
>> > > > > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
>> > > > > > > <jta-data-source>
>> > > > > > > > to Resource ID 'Default JDBC Database' from 'derbyDb'
>> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
>> > > > > > > > setNonJtaDataSource
>> > > > > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
>> > > > > > > > <non-jta-data-source> to Resource ID 'Default JDBC
>> > > DatabaseNonJta'
>> > > > > from
>> > > > > > > > 'null'*
>> > > > > > > > 04-Jul-2012 12:52:13
>> org.apache.openejb.config.AppInfoBuilder
>> > > build
>> > > > > > > > INFO: Enterprise application
>> > > > > > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
>> > > loaded.
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > org.apache.openejb.assembler.classic.Assembler
>> > > > > > > > createApplication
>> > > > > > > > INFO: Assembling app:
>> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
>> > > > > > > > 04-Jul-2012 12:52:13
>> org.apache.bval.jsr303.ConfigurationImpl
>> > > > > > > > parseValidationXml
>> > > > > > > > INFO: ignoreXmlConfiguration == true
>> > > > > > > > 04-Jul-2012 12:52:13
>> org.apache.bval.jsr303.ConfigurationImpl
>> > > > > > > > parseValidationXml
>> > > > > > > > INFO: ignoreXmlConfiguration == true
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration
>> > > configure
>> > > > > > > > INFO: Processing PersistenceUnitInfo [
>> > > > > > > > name: JerseyRestfulWebServicePU
>> > > > > > > > ...]
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder
>> > bindClass
>> > > > > > > > INFO: Binding entity from annotated class:
>> > > > > > > > com.shenick.diversifeye.domain.Host
>> > > > > > > > 04-Jul-2012 12:52:13
>> org.hibernate.cfg.annotations.EntityBinder
>> > > > > > bindTable
>> > > > > > > > INFO: Bind entity com.shenick.diversifeye.domain.Host on
>> table
>> > > Host
>> > > > > > > > 04-Jul-2012 12:52:13
>> org.hibernate.cfg.AnnotationConfiguration
>> > > > > > > > secondPassCompile
>> > > > > > > > INFO: Hibernate Validator not found: ignoring
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > > > org.hibernate.connection.ConnectionProviderFactory
>> > > > > > > > newConnectionProvider
>> > > > > > > > INFO: Initializing connection provider:
>> > > > > > > >
>> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > > > > > >
>> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
>> > > > > > > configure
>> > > > > > > > INFO: Using provided datasource
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: JDBC driver: HSQL Database Engine Driver, version:
>> 2.2.4
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Automatic flush during beforeCompletion(): disabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Automatic session close at end of transaction:
>> disabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Scrollable result sets: enabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Connection release mode: auto
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Default batch fetch size: 1
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Generate SQL with comments: disabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Order SQL updates by primary key: disabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Order SQL inserts for batching: disabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > > > > > createQueryTranslatorFactory
>> > > > > > > > INFO: Query translator:
>> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Query language substitutions: {}
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: JPA-QL strict compliance: enabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Second-level cache: enabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Query cache: disabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > > > > createCacheProvider
>> > > > > > > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Optimize cache for minimal puts: disabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Structured second-level cache entries: disabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Statistics: disabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Deleted entity synthetic identifier rollback: disabled
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Default entity-mode: pojo
>> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
>> > > > buildSettings
>> > > > > > > > INFO: Named query checking : enabled
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
>> > > > > > > > createEntityManagerFactory
>> > > > > > > > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
>> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence) - provider
>> > time
>> > > > > 401ms*
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > > org.apache.openejb.assembler.classic.JndiBuilder
>> > > > > > > bind
>> > > > > > > > INFO: Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
>> -->
>> > > > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > > org.apache.openejb.assembler.classic.JndiBuilder
>> > > > > > > bind
>> > > > > > > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
>> > > > > > > > Ejb(deployment-id=TestManagementService)
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > > org.apache.openejb.assembler.classic.JndiBuilder
>> > > > > > > bind
>> > > > > > > > INFO:
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
>> > > > > > > > --> Ejb(deployment-id=TestManagementService)
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > > org.apache.openejb.assembler.classic.JndiBuilder
>> > > > > > > bind
>> > > > > > > > INFO:
>> > > > > >
>> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
>> > > > > > > > --> Ejb(deployment-id=TestManagementService)
>> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder build
>> > > > > > > > INFO: existing thread singleton service in SystemInstance()
>> > > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
>> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
>> > > > > > > > startApplication
>> > > > > > > > INFO: OpenWebBeans Container is starting...
>> > > > > > > > 04-Jul-2012 12:52:13
>> org.apache.webbeans.plugins.PluginLoader
>> > > > startUp
>> > > > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
>> > > > > > > > 04-Jul-2012 12:52:13
>> org.apache.webbeans.plugins.PluginLoader
>> > > > startUp
>> > > > > > > > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
>> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
>> > > > > > > > validateInjectionPoints
>> > > > > > > > INFO: All injection points were validated successfully.
>> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
>> > > > > > > > startApplication
>> > > > > > > > INFO: OpenWebBeans Container has started, it took [15] ms.
>> > > > > > > > using context file
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > org.apache.openejb.assembler.classic.Assembler
>> > > > > > > > createApplication
>> > > > > > > > INFO: Created Ejb(deployment-id=TestManagementService,
>> > > > > > > > ejb-name=TestManagementService, container=My Singleton
>> > Container)
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > org.apache.openejb.assembler.classic.Assembler
>> > > > > > > > createApplication
>> > > > > > > > INFO: Started Ejb(deployment-id=TestManagementService,
>> > > > > > > > ejb-name=TestManagementService, container=My Singleton
>> > Container)
>> > > > > > > > 04-Jul-2012 12:52:13
>> > > org.apache.openejb.assembler.classic.Assembler
>> > > > > > > > createApplication
>> > > > > > > > INFO: Deployed
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
>> > > > > > > > 04-Jul-2012 12:52:14
>> > > org.apache.tomee.catalina.TomcatWebAppBuilder
>> > > > > > > safeBind
>> > > > > > > > SEVERE: Error in safeBind method
>> > > > > > > > javax.naming.NameNotFoundException: Name [openejb] is not
>> bound
>> > > in
>> > > > > this
>> > > > > > > > Context. Unable to find [openejb].
>> > > > > > > > at
>> > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
>> > > > > > > > at
>> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
>> > > > > > > > at
>> > > > >
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
>> > > > > > > > at
>> > > > > > >
>> > > >
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
>> > > > > > > > at
>> > > > > >
>> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
>> > > > > > > > at
>> > > > > >
>> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
>> > > > > > > > at
>> > > > > >
>> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
>> > > > > > > > at
>> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
>> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>> > > > > > > > at
>> > > > > >
>> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
>> > > > > > > > at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
>> > > > > > > > at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
>> > > > > > > > at
>> > > > >
>> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>> > > > > > > > at
>> > > > > > > >
>> > > > > >
>> > > >
>> >
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> > > > > > > > at java.lang.Thread.run(Thread.java:662)
>> > > > > > > > 04-Jul-2012 12:52:14
>> > > org.apache.tomee.catalina.TomcatWebAppBuilder
>> > > > > > > safeBind
>> > > > > > > > INFO: TransactionManager already bound, ignoring
>> > > > > > > > 04-Jul-2012 12:52:14
>> > > org.apache.tomee.catalina.TomcatWebAppBuilder
>> > > > > > > safeBind
>> > > > > > > > INFO: TransactionSynchronizationRegistry already bound,
>> > ignoring
>> > > > > > > > 04-Jul-2012 12:52:14
>> > > org.apache.tomee.catalina.TomcatWebAppBuilder
>> > > > > > > safeBind
>> > > > > > > > SEVERE: Error in safeBind method
>> > > > > > > > javax.naming.NameNotFoundException: No ORB registered with
>> the
>> > > > > OpenEJB
>> > > > > > > > system
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
>> > > > > > > > at
>> > > > > > >
>> > > > >
>> > >
>> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>> > > > > > > > at
>> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
>> > > > > > > > at
>> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
>> > > > > > > > at
>> > > > >
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
>> > > > > > > > at
>> > > > > > >
>> > > >
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
>> > > > > > > > at
>> > > > > >
>> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
>> > > > > > > > at
>> > > > > >
>> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
>> > > > > > > > at
>> > > > > >
>> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
>> > > > > > > > at
>> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
>> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>> > > > > > > > at
>> > > > > >
>> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
>> > > > > > > > at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
>> > > > > > > > at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
>> > > > > > > > at
>> > > > >
>> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>> > > > > > > > at
>> > > > > > > >
>> > > > > >
>> > > >
>> >
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> > > > > > > > at java.lang.Thread.run(Thread.java:662)
>> > > > > > > > 04-Jul-2012 12:52:14
>> > > org.apache.tomee.catalina.TomcatWebAppBuilder
>> > > > > > > safeBind
>> > > > > > > > SEVERE: Error in safeBind method
>> > > > > > > > javax.naming.NameNotFoundException: No HandleDelegate
>> > registered
>> > > > with
>> > > > > > the
>> > > > > > > > OpenEJB system
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
>> > > > > > > > at
>> > > > > > >
>> > > > >
>> > >
>> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>> > > > > > > > at
>> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
>> > > > > > > > at
>> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
>> > > > > > > > at
>> > > > >
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
>> > > > > > > > at
>> > > > > > >
>> > > >
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
>> > > > > > > > at
>> > > > > >
>> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
>> > > > > > > > at
>> > > > > >
>> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
>> > > > > > > > at
>> > > > > >
>> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
>> > > > > > > > at
>> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
>> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>> > > > > > > > at
>> > > > > >
>> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
>> > > > > > > > at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
>> > > > > > > > at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
>> > > > > > > > at
>> > > > >
>> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>> > > > > > > > at
>> > > > > > > >
>> > > > > >
>> > > >
>> >
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>> > > > > > > > at
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> > > > > > > > at java.lang.Thread.run(Thread.java:662)
>> > > > > > > > 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl
>> > > > > initDestination
>> > > > > > > > INFO: Setting the server's publish address to be
>> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi
>> > > > > > > > 04-Jul-2012 12:52:14
>> org.apache.openejb.server.rest.RESTService
>> > > > > > deployEJB
>> > > > > > > > INFO: REST Service:
>> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*-> EJB
>> > > > > > > > TestManagementService
>> > > > > > > > 04-Jul-2012 12:52:14
>> org.apache.openejb.server.rest.RESTService
>> > > > > > > > afterApplicationCreated
>> > > > > > > > INFO: REST application deployed:
>> > > > > > > > com.shenick.diversifeye.config.ApplicationConfig
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > Here is my persistence Unit:
>> > > > > > > >
>> > > > > > > > <persistence version="2.0" xmlns="
>> > > > > > http://java.sun.com/xml/ns/persistence
>> > > > > > > "
>> > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> > > > > > > xsi:schemaLocation="
>> > > > > > > > http://java.sun.com/xml/ns/persistence
>> > > > > > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
>> ">
>> > > > > > > > <persistence-unit name="JerseyRestfulWebServicePU"
>> > > > > > > transaction-type="JTA">
>> > > > > > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
>> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
>> > > > > > > > <class>com.shenick.diversifeye.domain.Host</class>
>> > > > > > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
>> > > > > > > > <properties>
>> > > > > > > > <property name="hibernate.dialect"
>> > > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
>> > > > > > > > <property name="hibernate.hbm2ddl.auto" value="update"/>
>> > > > > > > > </properties>
>> > > > > > > > </persistence-unit>
>> > > > > > > > </persistence>
>> > > > > > > >
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > I have a context.xml and openejb.xml specified in the
>> META-INF
>> > > > folder
>> > > > > > > >
>> > > > > > > > openejb.xml:
>> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
>> > > > > > > > <openejb>
>> > > > > > > > <Resource id="derbyDb" type="DataSource">
>> > > > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
>> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
>> > > > > > > > UserName app
>> > > > > > > > Password app
>> > > > > > > > JtaManaged true
>> > > > > > > > </Resource>
>> > > > > > > > </openejb>
>> > > > > > > >
>> > > > > > > > and context.xml:
>> > > > > > > >
>> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
>> > > > > > > > <Context antiJARLocking="true" path="/tomee-jee6-module"/>
>> > > > > > > >
>> > > > > > > > I also have the resource referenced in the web.xml file:
>> > > > > > > > <web-app version="3.0" xmlns="
>> > http://java.sun.com/xml/ns/javaee"
>> > > > > > > > xmlns:xsi="
>> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
>> > xsi:schemaLocation="
>> > > > > > > > http://java.sun.com/xml/ns/javaee
>> > > > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
>> > > > > > > > <session-config>
>> > > > > > > > <session-timeout>
>> > > > > > > > 30
>> > > > > > > > </session-timeout>
>> > > > > > > >   </session-config>
>> > > > > > > > <resource-ref>
>> > > > > > > > <description>
>> > > > > > > > Object factory for MyBean instances.
>> > > > > > > > </description>
>> > > > > > > > <res-ref-name>
>> > > > > > > > derbyDb
>> > > > > > > > </res-ref-name>
>> > > > > > > > <res-type>
>> > > > > > > > javax.sql.DataSource
>> > > > > > > > </res-type>
>> > > > > > > > <res-auth>
>> > > > > > > > Container
>> > > > > > > > </res-auth>
>> > > > > > > >   </resource-ref>
>> > > > > > > > </web-app>
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > What am I doing wrong, or is it not possible to define a
>> > > datasource
>> > > > > at
>> > > > > > a
>> > > > > > > > project level, and it should only be referenced in the
>> > tommee.xml
>> > > > > file?
>> > > > > > > >
>> > > > > > > > Thanks in advance
>> > > > > > > >
>> > > > > > > > John McDonnell
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > --
>> > > > > > John
>> > > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > John
>> > > >
>> > >
>> >
>> >
>> >
>> > --
>> > John
>> >
>>
>
>
>
> --
> John
>

Re: Project specific database

Posted by John McDonnell <mc...@gmail.com>.
Okay,

I have zipped up the maven project which contains the 2 modules.  The core
module is just a simple library which is used by the TomEE Restful JEE6
Module.


I have the following Jars in the tomee/lib/ dir:

cglib 2.1_3
hibernate 3.2.5.GA
hibernate-annotations 3.3.1.GA
hibernate-commons-annotations 3.3.1.GA
dom4j 1.6.1
asm 1.5.3
asm-attr 1.5.3


and I have editted line 294 of catalina.bat to set the
javax.persistence.provider property:
set
CATALINA_OPTS=-Djavax.persistence.provider=org.hibernate.ejb.HibernatePersistence


Hope this helps!


John McDonnell


On 4 July 2012 15:22, Jean-Louis MONTEIRO <je...@gmail.com> wrote:

> Any chance, you could share a simple example to reproduce the issue?
> That'd be easier to work on maybe.
>
> Jean-Louis
>
> 2012/7/4 John McDonnell <mc...@gmail.com>
>
> > I renamed the openejb.xml file to tomee.xml (its still in the META-INF
> > folder) and it looks like this now:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <tomee>
> > <Resource id="derbyDb" type="DataSource">
> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > JdbcUrl jdbc:derby://localhost:1527/sample
> > UserName app
> > Password app
> > JtaManaged true
> > </Resource>
> > </tomee>
> >
> >
> > No joy again as the application is still using the HSQL database as
> opposed
> > to the Derby one.
> >
> > Any other suggestions?
> >
> >
> > John
> >
> > On 4 July 2012 15:12, Romain Manni-Bucau <rm...@gmail.com> wrote:
> >
> > > hmm, try tomee.xml instead of openejb.xml
> > >
> > > - Romain
> > >
> > >
> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > >
> > > > I have downloaded the the snapshot of 1.1.0 and deployed the
> > application,
> > > > but no luck.
> > > >
> > > > when deploying the application, the application still uses HSQL for
> the
> > > > database, and not the defined Derby database.  Is there a problem
> with
> > my
> > > > configuration? (context.xml/openejb.xml/web.xml)
> > > >
> > > > John
> > > >
> > > >
> > > > On 4 July 2012 15:03, Romain Manni-Bucau <rm...@gmail.com>
> > wrote:
> > > >
> > > > > yep that's the same way netbeans deploys
> > > > >
> > > > > - Romain
> > > > >
> > > > >
> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > >
> > > > > > Hey, thanks for the fast reply...
> > > > > >
> > > > > > I dont use netbeans for deploying, I use to to build the maven
> > > project,
> > > > > and
> > > > > > then I use the management web app "/manager" to deploy.
> > > > > >
> > > > > >
> > > > > > I'll get the snapshot anyways and try that out.
> > > > > >
> > > > > > John
> > > > > >
> > > > > > On 4 July 2012 14:46, Romain Manni-Bucau <rm...@gmail.com>
> > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > do you use netbeans to deploy?
> > > > > > >
> > > > > > > maybe try out our snapshot since we fixed some issues regarding
> > the
> > > > way
> > > > > > > netbeans deploys.
> > > > > > >
> > > > > > > Side note: it is tomee.xml not tommee.xml
> > > > > > >
> > > > > > > - Romain
> > > > > > >
> > > > > > >
> > > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > > >
> > > > > > > > I recently started looking to convert an JEE6 application
> > working
> > > > in
> > > > > > > > Glassfish application server to using TomEE+ 1.0 and I am
> > having
> > > an
> > > > > > issue
> > > > > > > > with setting up the database.
> > > > > > > >
> > > > > > > > If I define the Resource in the tomee.xml file in the
> > > > tomeeDir/conf/
> > > > > > > > directory I am able to use the database I specify, which is a
> > > Derby
> > > > > > > > database, but I want to be able to define the database to be
> > > > project
> > > > > > > > specific, like I was able to do in Glassfish.
> > > > > > > >
> > > > > > > > What happens at the moment when I deploy the application I
> > notice
> > > > in
> > > > > > the
> > > > > > > > logs that TomEE adjusts the PU defined to use the Default
> JDBC
> > > > > > Database,
> > > > > > > > which was created, as I have removed the definitition of it
> > from
> > > > the
> > > > > > > > tomee.xml file.
> > > > > > > >
> > > > > > > > Here is the logs when deploying my project:
> > > > > > > >
> > > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > > > > > 04-Jul-2012 12:52:12 org.apache.catalina.startup.HostConfig
> > > > deployWAR
> > > > > > > > INFO: Deploying web application archive
> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > > > > 04-Jul-2012 12:52:12
> org.apache.openejb.config.DeploymentLoader
> > > > > > > > addFacesConfigs
> > > > > > > > INFO: faces config file is null
> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.config.ConfigurationFactory
> > > > > > > > configureApplication
> > > > > > > > INFO: Configuring enterprise application:
> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.config.InitEjbDeployments
> > > > > > deploy
> > > > > > > > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > > > > > > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.config.InitEjbDeployments
> > > > > > deploy
> > > > > > > > INFO: Auto-deploying ejb TestManagementService:
> > > > > > > > EjbDeployment(deployment-id=TestManagementService)
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > deploy
> > > > > > > > INFO: *Configuring
> > > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > > > > > setJtaDataSource
> > > > > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > > > > <jta-data-source>
> > > > > > > > to Resource ID 'Default JDBC Database' from 'derbyDb'
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > > > > > > setNonJtaDataSource
> > > > > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > > > > > <non-jta-data-source> to Resource ID 'Default JDBC
> > > DatabaseNonJta'
> > > > > from
> > > > > > > > 'null'*
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AppInfoBuilder
> > > build
> > > > > > > > INFO: Enterprise application
> > > > > > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > > loaded.
> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > createApplication
> > > > > > > > INFO: Assembling app:
> > > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > parseValidationXml
> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > > parseValidationXml
> > > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration
> > > configure
> > > > > > > > INFO: Processing PersistenceUnitInfo [
> > > > > > > > name: JerseyRestfulWebServicePU
> > > > > > > > ...]
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder
> > bindClass
> > > > > > > > INFO: Binding entity from annotated class:
> > > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.annotations.EntityBinder
> > > > > > bindTable
> > > > > > > > INFO: Bind entity com.shenick.diversifeye.domain.Host on
> table
> > > Host
> > > > > > > > 04-Jul-2012 12:52:13
> org.hibernate.cfg.AnnotationConfiguration
> > > > > > > > secondPassCompile
> > > > > > > > INFO: Hibernate Validator not found: ignoring
> > > > > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.connection.ConnectionProviderFactory
> > > > > > > > newConnectionProvider
> > > > > > > > INFO: Initializing connection provider:
> > > > > > > >
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > >
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > configure
> > > > > > > > INFO: Using provided datasource
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: JDBC driver: HSQL Database Engine Driver, version:
> 2.2.4
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Automatic flush during beforeCompletion(): disabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Automatic session close at end of transaction: disabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Scrollable result sets: enabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Connection release mode: auto
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Default batch fetch size: 1
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Generate SQL with comments: disabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Order SQL updates by primary key: disabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Order SQL inserts for batching: disabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > > > > > createQueryTranslatorFactory
> > > > > > > > INFO: Query translator:
> > > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Query language substitutions: {}
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: JPA-QL strict compliance: enabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Second-level cache: enabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Query cache: disabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > > > > createCacheProvider
> > > > > > > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Optimize cache for minimal puts: disabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Structured second-level cache entries: disabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Statistics: disabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Deleted entity synthetic identifier rollback: disabled
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Default entity-mode: pojo
> > > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > buildSettings
> > > > > > > > INFO: Named query checking : enabled
> > > > > > > > 04-Jul-2012 12:52:13
> > > > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > > > > createEntityManagerFactory
> > > > > > > > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > > provider=org.hibernate.ejb.HibernatePersistence) - provider
> > time
> > > > > 401ms*
> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > bind
> > > > > > > > INFO: Jndi(name=localhost/tomee-jee6-module.CompLocalBean)
> -->
> > > > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > bind
> > > > > > > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> > > > > > > > Ejb(deployment-id=TestManagementService)
> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > bind
> > > > > > > > INFO:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > > bind
> > > > > > > > INFO:
> > > > > >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder build
> > > > > > > > INFO: existing thread singleton service in SystemInstance()
> > > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > startApplication
> > > > > > > > INFO: OpenWebBeans Container is starting...
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader
> > > > startUp
> > > > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader
> > > > startUp
> > > > > > > > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
> > > > > > > > validateInjectionPoints
> > > > > > > > INFO: All injection points were validated successfully.
> > > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > > startApplication
> > > > > > > > INFO: OpenWebBeans Container has started, it took [15] ms.
> > > > > > > > using context file
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > createApplication
> > > > > > > > INFO: Created Ejb(deployment-id=TestManagementService,
> > > > > > > > ejb-name=TestManagementService, container=My Singleton
> > Container)
> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > createApplication
> > > > > > > > INFO: Started Ejb(deployment-id=TestManagementService,
> > > > > > > > ejb-name=TestManagementService, container=My Singleton
> > Container)
> > > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.assembler.classic.Assembler
> > > > > > > > createApplication
> > > > > > > > INFO: Deployed
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > > > > 04-Jul-2012 12:52:14
> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > safeBind
> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > javax.naming.NameNotFoundException: Name [openejb] is not
> bound
> > > in
> > > > > this
> > > > > > > > Context. Unable to find [openejb].
> > > > > > > > at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > > > > at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > at
> > > > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > at
> > > > > > >
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > at
> > > > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > at
> > > > > >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > at
> > > > > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > at
> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > at
> > > > > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > at
> > > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > 04-Jul-2012 12:52:14
> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > safeBind
> > > > > > > > INFO: TransactionManager already bound, ignoring
> > > > > > > > 04-Jul-2012 12:52:14
> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > safeBind
> > > > > > > > INFO: TransactionSynchronizationRegistry already bound,
> > ignoring
> > > > > > > > 04-Jul-2012 12:52:14
> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > safeBind
> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > javax.naming.NameNotFoundException: No ORB registered with
> the
> > > > > OpenEJB
> > > > > > > > system
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > at
> > > > > > >
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > at
> > > > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > at
> > > > > > >
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > at
> > > > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > at
> > > > > >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > at
> > > > > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > at
> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > at
> > > > > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > at
> > > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > 04-Jul-2012 12:52:14
> > > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > > safeBind
> > > > > > > > SEVERE: Error in safeBind method
> > > > > > > > javax.naming.NameNotFoundException: No HandleDelegate
> > registered
> > > > with
> > > > > > the
> > > > > > > > OpenEJB system
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > > at
> > > > > > >
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > > at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > > at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > > at
> > > > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > > at
> > > > > > >
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > > at
> > > > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > > at
> > > > > >
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > > at
> > > > > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > > at
> > > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > > at
> > > > > >
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > > at
> > > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > > 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl
> > > > > initDestination
> > > > > > > > INFO: Setting the server's publish address to be
> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > > > > > 04-Jul-2012 12:52:14
> org.apache.openejb.server.rest.RESTService
> > > > > > deployEJB
> > > > > > > > INFO: REST Service:
> > > > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*-> EJB
> > > > > > > > TestManagementService
> > > > > > > > 04-Jul-2012 12:52:14
> org.apache.openejb.server.rest.RESTService
> > > > > > > > afterApplicationCreated
> > > > > > > > INFO: REST application deployed:
> > > > > > > > com.shenick.diversifeye.config.ApplicationConfig
> > > > > > > >
> > > > > > > >
> > > > > > > > Here is my persistence Unit:
> > > > > > > >
> > > > > > > > <persistence version="2.0" xmlns="
> > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > "
> > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > > > > xsi:schemaLocation="
> > > > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
> > > > > > > > <persistence-unit name="JerseyRestfulWebServicePU"
> > > > > > > transaction-type="JTA">
> > > > > > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > > > > <jta-data-source>derbyDb</jta-data-source>
> > > > > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > > > > <properties>
> > > > > > > > <property name="hibernate.dialect"
> > > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > > > > <property name="hibernate.hbm2ddl.auto" value="update"/>
> > > > > > > > </properties>
> > > > > > > > </persistence-unit>
> > > > > > > > </persistence>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I have a context.xml and openejb.xml specified in the
> META-INF
> > > > folder
> > > > > > > >
> > > > > > > > openejb.xml:
> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > <openejb>
> > > > > > > > <Resource id="derbyDb" type="DataSource">
> > > > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > > UserName app
> > > > > > > > Password app
> > > > > > > > JtaManaged true
> > > > > > > > </Resource>
> > > > > > > > </openejb>
> > > > > > > >
> > > > > > > > and context.xml:
> > > > > > > >
> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > <Context antiJARLocking="true" path="/tomee-jee6-module"/>
> > > > > > > >
> > > > > > > > I also have the resource referenced in the web.xml file:
> > > > > > > > <web-app version="3.0" xmlns="
> > http://java.sun.com/xml/ns/javaee"
> > > > > > > > xmlns:xsi="
> > > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="
> > > > > > > > http://java.sun.com/xml/ns/javaee
> > > > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> > > > > > > > <session-config>
> > > > > > > > <session-timeout>
> > > > > > > > 30
> > > > > > > > </session-timeout>
> > > > > > > >   </session-config>
> > > > > > > > <resource-ref>
> > > > > > > > <description>
> > > > > > > > Object factory for MyBean instances.
> > > > > > > > </description>
> > > > > > > > <res-ref-name>
> > > > > > > > derbyDb
> > > > > > > > </res-ref-name>
> > > > > > > > <res-type>
> > > > > > > > javax.sql.DataSource
> > > > > > > > </res-type>
> > > > > > > > <res-auth>
> > > > > > > > Container
> > > > > > > > </res-auth>
> > > > > > > >   </resource-ref>
> > > > > > > > </web-app>
> > > > > > > >
> > > > > > > >
> > > > > > > > What am I doing wrong, or is it not possible to define a
> > > datasource
> > > > > at
> > > > > > a
> > > > > > > > project level, and it should only be referenced in the
> > tommee.xml
> > > > > file?
> > > > > > > >
> > > > > > > > Thanks in advance
> > > > > > > >
> > > > > > > > John McDonnell
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > John
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > John
> > > >
> > >
> >
> >
> >
> > --
> > John
> >
>



-- 
John

Re: Project specific database

Posted by Jean-Louis MONTEIRO <je...@gmail.com>.
Any chance, you could share a simple example to reproduce the issue?
That'd be easier to work on maybe.

Jean-Louis

2012/7/4 John McDonnell <mc...@gmail.com>

> I renamed the openejb.xml file to tomee.xml (its still in the META-INF
> folder) and it looks like this now:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <tomee>
> <Resource id="derbyDb" type="DataSource">
> JdbcDriver org.apache.derby.jdbc.ClientDriver
> JdbcUrl jdbc:derby://localhost:1527/sample
> UserName app
> Password app
> JtaManaged true
> </Resource>
> </tomee>
>
>
> No joy again as the application is still using the HSQL database as opposed
> to the Derby one.
>
> Any other suggestions?
>
>
> John
>
> On 4 July 2012 15:12, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> > hmm, try tomee.xml instead of openejb.xml
> >
> > - Romain
> >
> >
> > 2012/7/4 John McDonnell <mc...@gmail.com>
> >
> > > I have downloaded the the snapshot of 1.1.0 and deployed the
> application,
> > > but no luck.
> > >
> > > when deploying the application, the application still uses HSQL for the
> > > database, and not the defined Derby database.  Is there a problem with
> my
> > > configuration? (context.xml/openejb.xml/web.xml)
> > >
> > > John
> > >
> > >
> > > On 4 July 2012 15:03, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
> > >
> > > > yep that's the same way netbeans deploys
> > > >
> > > > - Romain
> > > >
> > > >
> > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > >
> > > > > Hey, thanks for the fast reply...
> > > > >
> > > > > I dont use netbeans for deploying, I use to to build the maven
> > project,
> > > > and
> > > > > then I use the management web app "/manager" to deploy.
> > > > >
> > > > >
> > > > > I'll get the snapshot anyways and try that out.
> > > > >
> > > > > John
> > > > >
> > > > > On 4 July 2012 14:46, Romain Manni-Bucau <rm...@gmail.com>
> > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > do you use netbeans to deploy?
> > > > > >
> > > > > > maybe try out our snapshot since we fixed some issues regarding
> the
> > > way
> > > > > > netbeans deploys.
> > > > > >
> > > > > > Side note: it is tomee.xml not tommee.xml
> > > > > >
> > > > > > - Romain
> > > > > >
> > > > > >
> > > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > > >
> > > > > > > I recently started looking to convert an JEE6 application
> working
> > > in
> > > > > > > Glassfish application server to using TomEE+ 1.0 and I am
> having
> > an
> > > > > issue
> > > > > > > with setting up the database.
> > > > > > >
> > > > > > > If I define the Resource in the tomee.xml file in the
> > > tomeeDir/conf/
> > > > > > > directory I am able to use the database I specify, which is a
> > Derby
> > > > > > > database, but I want to be able to define the database to be
> > > project
> > > > > > > specific, like I was able to do in Glassfish.
> > > > > > >
> > > > > > > What happens at the moment when I deploy the application I
> notice
> > > in
> > > > > the
> > > > > > > logs that TomEE adjusts the PU defined to use the Default JDBC
> > > > > Database,
> > > > > > > which was created, as I have removed the definitition of it
> from
> > > the
> > > > > > > tomee.xml file.
> > > > > > >
> > > > > > > Here is the logs when deploying my project:
> > > > > > >
> > > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > > > > 04-Jul-2012 12:52:12 org.apache.catalina.startup.HostConfig
> > > deployWAR
> > > > > > > INFO: Deploying web application archive
> > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > > > 04-Jul-2012 12:52:12 org.apache.openejb.config.DeploymentLoader
> > > > > > > addFacesConfigs
> > > > > > > INFO: faces config file is null
> > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.config.ConfigurationFactory
> > > > > > > configureApplication
> > > > > > > INFO: Configuring enterprise application:
> > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.config.InitEjbDeployments
> > > > > deploy
> > > > > > > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > > > > > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.config.InitEjbDeployments
> > > > > deploy
> > > > > > > INFO: Auto-deploying ejb TestManagementService:
> > > > > > > EjbDeployment(deployment-id=TestManagementService)
> > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> deploy
> > > > > > > INFO: *Configuring
> > PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > > > > setJtaDataSource
> > > > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > > > <jta-data-source>
> > > > > > > to Resource ID 'Default JDBC Database' from 'derbyDb'
> > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > > > > > setNonJtaDataSource
> > > > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > > > > <non-jta-data-source> to Resource ID 'Default JDBC
> > DatabaseNonJta'
> > > > from
> > > > > > > 'null'*
> > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AppInfoBuilder
> > build
> > > > > > > INFO: Enterprise application
> > > > > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> > loaded.
> > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.assembler.classic.Assembler
> > > > > > > createApplication
> > > > > > > INFO: Assembling app:
> > > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > parseValidationXml
> > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > > > > > parseValidationXml
> > > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration
> > configure
> > > > > > > INFO: Processing PersistenceUnitInfo [
> > > > > > > name: JerseyRestfulWebServicePU
> > > > > > > ...]
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder
> bindClass
> > > > > > > INFO: Binding entity from annotated class:
> > > > > > > com.shenick.diversifeye.domain.Host
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.annotations.EntityBinder
> > > > > bindTable
> > > > > > > INFO: Bind entity com.shenick.diversifeye.domain.Host on table
> > Host
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationConfiguration
> > > > > > > secondPassCompile
> > > > > > > INFO: Hibernate Validator not found: ignoring
> > > > > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.connection.ConnectionProviderFactory
> > > > > > > newConnectionProvider
> > > > > > > INFO: Initializing connection provider:
> > > > > > >
> org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > > 04-Jul-2012 12:52:13
> > > > > > >
> org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > configure
> > > > > > > INFO: Using provided datasource
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: JDBC driver: HSQL Database Engine Driver, version: 2.2.4
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Automatic flush during beforeCompletion(): disabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Automatic session close at end of transaction: disabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Scrollable result sets: enabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Connection release mode: auto
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Default batch fetch size: 1
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Generate SQL with comments: disabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Order SQL updates by primary key: disabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Order SQL inserts for batching: disabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > > > > createQueryTranslatorFactory
> > > > > > > INFO: Query translator:
> > > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Query language substitutions: {}
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: JPA-QL strict compliance: enabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Second-level cache: enabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Query cache: disabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > > > createCacheProvider
> > > > > > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Optimize cache for minimal puts: disabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Structured second-level cache entries: disabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Statistics: disabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Deleted entity synthetic identifier rollback: disabled
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Default entity-mode: pojo
> > > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > buildSettings
> > > > > > > INFO: Named query checking : enabled
> > > > > > > 04-Jul-2012 12:52:13
> > > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > > > createEntityManagerFactory
> > > > > > > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > > provider=org.hibernate.ejb.HibernatePersistence) - provider
> time
> > > > 401ms*
> > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > bind
> > > > > > > INFO: Jndi(name=localhost/tomee-jee6-module.CompLocalBean) -->
> > > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > bind
> > > > > > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> > > > > > > Ejb(deployment-id=TestManagementService)
> > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > bind
> > > > > > > INFO:
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > > bind
> > > > > > > INFO:
> > > > > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder build
> > > > > > > INFO: existing thread singleton service in SystemInstance()
> > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > startApplication
> > > > > > > INFO: OpenWebBeans Container is starting...
> > > > > > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader
> > > startUp
> > > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > > > > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader
> > > startUp
> > > > > > > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
> > > > > > > validateInjectionPoints
> > > > > > > INFO: All injection points were validated successfully.
> > > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > > startApplication
> > > > > > > INFO: OpenWebBeans Container has started, it took [15] ms.
> > > > > > > using context file
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.assembler.classic.Assembler
> > > > > > > createApplication
> > > > > > > INFO: Created Ejb(deployment-id=TestManagementService,
> > > > > > > ejb-name=TestManagementService, container=My Singleton
> Container)
> > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.assembler.classic.Assembler
> > > > > > > createApplication
> > > > > > > INFO: Started Ejb(deployment-id=TestManagementService,
> > > > > > > ejb-name=TestManagementService, container=My Singleton
> Container)
> > > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.assembler.classic.Assembler
> > > > > > > createApplication
> > > > > > > INFO: Deployed
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > > > 04-Jul-2012 12:52:14
> > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > safeBind
> > > > > > > SEVERE: Error in safeBind method
> > > > > > > javax.naming.NameNotFoundException: Name [openejb] is not bound
> > in
> > > > this
> > > > > > > Context. Unable to find [openejb].
> > > > > > > at
> org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > > > at
> org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > at
> > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > at
> > > > > >
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > at
> > > > >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > at
> > > > >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > at
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > at
> > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > at
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > at
> > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > at
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > 04-Jul-2012 12:52:14
> > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > safeBind
> > > > > > > INFO: TransactionManager already bound, ignoring
> > > > > > > 04-Jul-2012 12:52:14
> > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > safeBind
> > > > > > > INFO: TransactionSynchronizationRegistry already bound,
> ignoring
> > > > > > > 04-Jul-2012 12:52:14
> > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > safeBind
> > > > > > > SEVERE: Error in safeBind method
> > > > > > > javax.naming.NameNotFoundException: No ORB registered with the
> > > > OpenEJB
> > > > > > > system
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > at
> > > > > >
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > at
> org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > at
> org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > at
> > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > at
> > > > > >
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > at
> > > > >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > at
> > > > >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > at
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > at
> > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > at
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > at
> > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > at
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > 04-Jul-2012 12:52:14
> > org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > > safeBind
> > > > > > > SEVERE: Error in safeBind method
> > > > > > > javax.naming.NameNotFoundException: No HandleDelegate
> registered
> > > with
> > > > > the
> > > > > > > OpenEJB system
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > > at
> > > > > >
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > > at
> org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > > at
> org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > > at
> > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > > at
> > > > > >
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > > at
> > > > >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > > at
> > > > >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > > at
> > > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > > at
> > > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > > at
> > > > >
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > > at
> > > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > > at
> > > > > > >
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > > 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl
> > > > initDestination
> > > > > > > INFO: Setting the server's publish address to be
> > > > > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > > > > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> > > > > deployEJB
> > > > > > > INFO: REST Service:
> > > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*-> EJB
> > > > > > > TestManagementService
> > > > > > > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> > > > > > > afterApplicationCreated
> > > > > > > INFO: REST application deployed:
> > > > > > > com.shenick.diversifeye.config.ApplicationConfig
> > > > > > >
> > > > > > >
> > > > > > > Here is my persistence Unit:
> > > > > > >
> > > > > > > <persistence version="2.0" xmlns="
> > > > > http://java.sun.com/xml/ns/persistence
> > > > > > "
> > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > > > xsi:schemaLocation="
> > > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
> > > > > > > <persistence-unit name="JerseyRestfulWebServicePU"
> > > > > > transaction-type="JTA">
> > > > > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > > > <jta-data-source>derbyDb</jta-data-source>
> > > > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > > > <properties>
> > > > > > > <property name="hibernate.dialect"
> > > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > > > <property name="hibernate.hbm2ddl.auto" value="update"/>
> > > > > > > </properties>
> > > > > > > </persistence-unit>
> > > > > > > </persistence>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I have a context.xml and openejb.xml specified in the META-INF
> > > folder
> > > > > > >
> > > > > > > openejb.xml:
> > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > <openejb>
> > > > > > > <Resource id="derbyDb" type="DataSource">
> > > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > > UserName app
> > > > > > > Password app
> > > > > > > JtaManaged true
> > > > > > > </Resource>
> > > > > > > </openejb>
> > > > > > >
> > > > > > > and context.xml:
> > > > > > >
> > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > <Context antiJARLocking="true" path="/tomee-jee6-module"/>
> > > > > > >
> > > > > > > I also have the resource referenced in the web.xml file:
> > > > > > > <web-app version="3.0" xmlns="
> http://java.sun.com/xml/ns/javaee"
> > > > > > > xmlns:xsi="
> > > > > > > http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> > > > > > > http://java.sun.com/xml/ns/javaee
> > > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> > > > > > > <session-config>
> > > > > > > <session-timeout>
> > > > > > > 30
> > > > > > > </session-timeout>
> > > > > > >   </session-config>
> > > > > > > <resource-ref>
> > > > > > > <description>
> > > > > > > Object factory for MyBean instances.
> > > > > > > </description>
> > > > > > > <res-ref-name>
> > > > > > > derbyDb
> > > > > > > </res-ref-name>
> > > > > > > <res-type>
> > > > > > > javax.sql.DataSource
> > > > > > > </res-type>
> > > > > > > <res-auth>
> > > > > > > Container
> > > > > > > </res-auth>
> > > > > > >   </resource-ref>
> > > > > > > </web-app>
> > > > > > >
> > > > > > >
> > > > > > > What am I doing wrong, or is it not possible to define a
> > datasource
> > > > at
> > > > > a
> > > > > > > project level, and it should only be referenced in the
> tommee.xml
> > > > file?
> > > > > > >
> > > > > > > Thanks in advance
> > > > > > >
> > > > > > > John McDonnell
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > John
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > John
> > >
> >
>
>
>
> --
> John
>

Re: Project specific database

Posted by John McDonnell <mc...@gmail.com>.
I renamed the openejb.xml file to tomee.xml (its still in the META-INF
folder) and it looks like this now:

<?xml version="1.0" encoding="UTF-8"?>
<tomee>
<Resource id="derbyDb" type="DataSource">
JdbcDriver org.apache.derby.jdbc.ClientDriver
JdbcUrl jdbc:derby://localhost:1527/sample
UserName app
Password app
JtaManaged true
</Resource>
</tomee>


No joy again as the application is still using the HSQL database as opposed
to the Derby one.

Any other suggestions?


John

On 4 July 2012 15:12, Romain Manni-Bucau <rm...@gmail.com> wrote:

> hmm, try tomee.xml instead of openejb.xml
>
> - Romain
>
>
> 2012/7/4 John McDonnell <mc...@gmail.com>
>
> > I have downloaded the the snapshot of 1.1.0 and deployed the application,
> > but no luck.
> >
> > when deploying the application, the application still uses HSQL for the
> > database, and not the defined Derby database.  Is there a problem with my
> > configuration? (context.xml/openejb.xml/web.xml)
> >
> > John
> >
> >
> > On 4 July 2012 15:03, Romain Manni-Bucau <rm...@gmail.com> wrote:
> >
> > > yep that's the same way netbeans deploys
> > >
> > > - Romain
> > >
> > >
> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > >
> > > > Hey, thanks for the fast reply...
> > > >
> > > > I dont use netbeans for deploying, I use to to build the maven
> project,
> > > and
> > > > then I use the management web app "/manager" to deploy.
> > > >
> > > >
> > > > I'll get the snapshot anyways and try that out.
> > > >
> > > > John
> > > >
> > > > On 4 July 2012 14:46, Romain Manni-Bucau <rm...@gmail.com>
> > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > do you use netbeans to deploy?
> > > > >
> > > > > maybe try out our snapshot since we fixed some issues regarding the
> > way
> > > > > netbeans deploys.
> > > > >
> > > > > Side note: it is tomee.xml not tommee.xml
> > > > >
> > > > > - Romain
> > > > >
> > > > >
> > > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > > >
> > > > > > I recently started looking to convert an JEE6 application working
> > in
> > > > > > Glassfish application server to using TomEE+ 1.0 and I am having
> an
> > > > issue
> > > > > > with setting up the database.
> > > > > >
> > > > > > If I define the Resource in the tomee.xml file in the
> > tomeeDir/conf/
> > > > > > directory I am able to use the database I specify, which is a
> Derby
> > > > > > database, but I want to be able to define the database to be
> > project
> > > > > > specific, like I was able to do in Glassfish.
> > > > > >
> > > > > > What happens at the moment when I deploy the application I notice
> > in
> > > > the
> > > > > > logs that TomEE adjusts the PU defined to use the Default JDBC
> > > > Database,
> > > > > > which was created, as I have removed the definitition of it from
> > the
> > > > > > tomee.xml file.
> > > > > >
> > > > > > Here is the logs when deploying my project:
> > > > > >
> > > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > > > 04-Jul-2012 12:52:12 org.apache.catalina.startup.HostConfig
> > deployWAR
> > > > > > INFO: Deploying web application archive
> > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > > 04-Jul-2012 12:52:12 org.apache.openejb.config.DeploymentLoader
> > > > > > addFacesConfigs
> > > > > > INFO: faces config file is null
> > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.config.ConfigurationFactory
> > > > > > configureApplication
> > > > > > INFO: Configuring enterprise application:
> > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments
> > > > deploy
> > > > > > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > > > > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments
> > > > deploy
> > > > > > INFO: Auto-deploying ejb TestManagementService:
> > > > > > EjbDeployment(deployment-id=TestManagementService)
> > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig deploy
> > > > > > INFO: *Configuring
> PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > > > setJtaDataSource
> > > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > > <jta-data-source>
> > > > > > to Resource ID 'Default JDBC Database' from 'derbyDb'
> > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > > > > setNonJtaDataSource
> > > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > > > <non-jta-data-source> to Resource ID 'Default JDBC
> DatabaseNonJta'
> > > from
> > > > > > 'null'*
> > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AppInfoBuilder
> build
> > > > > > INFO: Enterprise application
> > > > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module"
> loaded.
> > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.assembler.classic.Assembler
> > > > > > createApplication
> > > > > > INFO: Assembling app:
> > > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > > > > parseValidationXml
> > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > > > > parseValidationXml
> > > > > > INFO: ignoreXmlConfiguration == true
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration
> configure
> > > > > > INFO: Processing PersistenceUnitInfo [
> > > > > > name: JerseyRestfulWebServicePU
> > > > > > ...]
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder bindClass
> > > > > > INFO: Binding entity from annotated class:
> > > > > > com.shenick.diversifeye.domain.Host
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.annotations.EntityBinder
> > > > bindTable
> > > > > > INFO: Bind entity com.shenick.diversifeye.domain.Host on table
> Host
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationConfiguration
> > > > > > secondPassCompile
> > > > > > INFO: Hibernate Validator not found: ignoring
> > > > > > 04-Jul-2012 12:52:13
> > > org.hibernate.connection.ConnectionProviderFactory
> > > > > > newConnectionProvider
> > > > > > INFO: Initializing connection provider:
> > > > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > > 04-Jul-2012 12:52:13
> > > > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > configure
> > > > > > INFO: Using provided datasource
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: JDBC driver: HSQL Database Engine Driver, version: 2.2.4
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Automatic flush during beforeCompletion(): disabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Automatic session close at end of transaction: disabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Scrollable result sets: enabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Connection release mode: auto
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Default batch fetch size: 1
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Generate SQL with comments: disabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Order SQL updates by primary key: disabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Order SQL inserts for batching: disabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > > > createQueryTranslatorFactory
> > > > > > INFO: Query translator:
> > > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Query language substitutions: {}
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: JPA-QL strict compliance: enabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Second-level cache: enabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Query cache: disabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > > createCacheProvider
> > > > > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Optimize cache for minimal puts: disabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Structured second-level cache entries: disabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Statistics: disabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Deleted entity synthetic identifier rollback: disabled
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Default entity-mode: pojo
> > > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > buildSettings
> > > > > > INFO: Named query checking : enabled
> > > > > > 04-Jul-2012 12:52:13
> > > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > > createEntityManagerFactory
> > > > > > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > > provider=org.hibernate.ejb.HibernatePersistence) - provider time
> > > 401ms*
> > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > bind
> > > > > > INFO: Jndi(name=localhost/tomee-jee6-module.CompLocalBean) -->
> > > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > bind
> > > > > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> > > > > > Ejb(deployment-id=TestManagementService)
> > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > bind
> > > > > > INFO:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > 04-Jul-2012 12:52:13
> > org.apache.openejb.assembler.classic.JndiBuilder
> > > > > bind
> > > > > > INFO:
> > > > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder build
> > > > > > INFO: existing thread singleton service in SystemInstance()
> > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > startApplication
> > > > > > INFO: OpenWebBeans Container is starting...
> > > > > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader
> > startUp
> > > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > > > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader
> > startUp
> > > > > > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
> > > > > > validateInjectionPoints
> > > > > > INFO: All injection points were validated successfully.
> > > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > > startApplication
> > > > > > INFO: OpenWebBeans Container has started, it took [15] ms.
> > > > > > using context file
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.assembler.classic.Assembler
> > > > > > createApplication
> > > > > > INFO: Created Ejb(deployment-id=TestManagementService,
> > > > > > ejb-name=TestManagementService, container=My Singleton Container)
> > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.assembler.classic.Assembler
> > > > > > createApplication
> > > > > > INFO: Started Ejb(deployment-id=TestManagementService,
> > > > > > ejb-name=TestManagementService, container=My Singleton Container)
> > > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.assembler.classic.Assembler
> > > > > > createApplication
> > > > > > INFO: Deployed
> > > > > >
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > > 04-Jul-2012 12:52:14
> org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > safeBind
> > > > > > SEVERE: Error in safeBind method
> > > > > > javax.naming.NameNotFoundException: Name [openejb] is not bound
> in
> > > this
> > > > > > Context. Unable to find [openejb].
> > > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > at
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > at
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > at
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > at
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > at
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > at
> > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > at
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > at
> > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > at
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > 04-Jul-2012 12:52:14
> org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > safeBind
> > > > > > INFO: TransactionManager already bound, ignoring
> > > > > > 04-Jul-2012 12:52:14
> org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > safeBind
> > > > > > INFO: TransactionSynchronizationRegistry already bound, ignoring
> > > > > > 04-Jul-2012 12:52:14
> org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > safeBind
> > > > > > SEVERE: Error in safeBind method
> > > > > > javax.naming.NameNotFoundException: No ORB registered with the
> > > OpenEJB
> > > > > > system
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > at
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > at
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > at
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > at
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > at
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > at
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > at
> > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > at
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > at
> > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > at
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > 04-Jul-2012 12:52:14
> org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > > safeBind
> > > > > > SEVERE: Error in safeBind method
> > > > > > javax.naming.NameNotFoundException: No HandleDelegate registered
> > with
> > > > the
> > > > > > OpenEJB system
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > > at
> > > > >
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > > at
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > > at
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > > at
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > > at
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > > at
> > > >
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > > at
> > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > > at
> > > >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > > at
> > > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > > at
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > > 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl
> > > initDestination
> > > > > > INFO: Setting the server's publish address to be
> > > > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > > > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> > > > deployEJB
> > > > > > INFO: REST Service:
> > > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*-> EJB
> > > > > > TestManagementService
> > > > > > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> > > > > > afterApplicationCreated
> > > > > > INFO: REST application deployed:
> > > > > > com.shenick.diversifeye.config.ApplicationConfig
> > > > > >
> > > > > >
> > > > > > Here is my persistence Unit:
> > > > > >
> > > > > > <persistence version="2.0" xmlns="
> > > > http://java.sun.com/xml/ns/persistence
> > > > > "
> > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > > xsi:schemaLocation="
> > > > > > http://java.sun.com/xml/ns/persistence
> > > > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
> > > > > > <persistence-unit name="JerseyRestfulWebServicePU"
> > > > > transaction-type="JTA">
> > > > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > > <jta-data-source>derbyDb</jta-data-source>
> > > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > > <properties>
> > > > > > <property name="hibernate.dialect"
> > > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > > <property name="hibernate.hbm2ddl.auto" value="update"/>
> > > > > > </properties>
> > > > > > </persistence-unit>
> > > > > > </persistence>
> > > > > >
> > > > > >
> > > > > >
> > > > > > I have a context.xml and openejb.xml specified in the META-INF
> > folder
> > > > > >
> > > > > > openejb.xml:
> > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > <openejb>
> > > > > > <Resource id="derbyDb" type="DataSource">
> > > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > > UserName app
> > > > > > Password app
> > > > > > JtaManaged true
> > > > > > </Resource>
> > > > > > </openejb>
> > > > > >
> > > > > > and context.xml:
> > > > > >
> > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > <Context antiJARLocking="true" path="/tomee-jee6-module"/>
> > > > > >
> > > > > > I also have the resource referenced in the web.xml file:
> > > > > > <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
> > > > > > xmlns:xsi="
> > > > > > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> > > > > > http://java.sun.com/xml/ns/javaee
> > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> > > > > > <session-config>
> > > > > > <session-timeout>
> > > > > > 30
> > > > > > </session-timeout>
> > > > > >   </session-config>
> > > > > > <resource-ref>
> > > > > > <description>
> > > > > > Object factory for MyBean instances.
> > > > > > </description>
> > > > > > <res-ref-name>
> > > > > > derbyDb
> > > > > > </res-ref-name>
> > > > > > <res-type>
> > > > > > javax.sql.DataSource
> > > > > > </res-type>
> > > > > > <res-auth>
> > > > > > Container
> > > > > > </res-auth>
> > > > > >   </resource-ref>
> > > > > > </web-app>
> > > > > >
> > > > > >
> > > > > > What am I doing wrong, or is it not possible to define a
> datasource
> > > at
> > > > a
> > > > > > project level, and it should only be referenced in the tommee.xml
> > > file?
> > > > > >
> > > > > > Thanks in advance
> > > > > >
> > > > > > John McDonnell
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > John
> > > >
> > >
> >
> >
> >
> > --
> > John
> >
>



-- 
John

Re: Project specific database

Posted by Romain Manni-Bucau <rm...@gmail.com>.
hmm, try tomee.xml instead of openejb.xml

- Romain


2012/7/4 John McDonnell <mc...@gmail.com>

> I have downloaded the the snapshot of 1.1.0 and deployed the application,
> but no luck.
>
> when deploying the application, the application still uses HSQL for the
> database, and not the defined Derby database.  Is there a problem with my
> configuration? (context.xml/openejb.xml/web.xml)
>
> John
>
>
> On 4 July 2012 15:03, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> > yep that's the same way netbeans deploys
> >
> > - Romain
> >
> >
> > 2012/7/4 John McDonnell <mc...@gmail.com>
> >
> > > Hey, thanks for the fast reply...
> > >
> > > I dont use netbeans for deploying, I use to to build the maven project,
> > and
> > > then I use the management web app "/manager" to deploy.
> > >
> > >
> > > I'll get the snapshot anyways and try that out.
> > >
> > > John
> > >
> > > On 4 July 2012 14:46, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
> > >
> > > > Hi,
> > > >
> > > > do you use netbeans to deploy?
> > > >
> > > > maybe try out our snapshot since we fixed some issues regarding the
> way
> > > > netbeans deploys.
> > > >
> > > > Side note: it is tomee.xml not tommee.xml
> > > >
> > > > - Romain
> > > >
> > > >
> > > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > > >
> > > > > I recently started looking to convert an JEE6 application working
> in
> > > > > Glassfish application server to using TomEE+ 1.0 and I am having an
> > > issue
> > > > > with setting up the database.
> > > > >
> > > > > If I define the Resource in the tomee.xml file in the
> tomeeDir/conf/
> > > > > directory I am able to use the database I specify, which is a Derby
> > > > > database, but I want to be able to define the database to be
> project
> > > > > specific, like I was able to do in Glassfish.
> > > > >
> > > > > What happens at the moment when I deploy the application I notice
> in
> > > the
> > > > > logs that TomEE adjusts the PU defined to use the Default JDBC
> > > Database,
> > > > > which was created, as I have removed the definitition of it from
> the
> > > > > tomee.xml file.
> > > > >
> > > > > Here is the logs when deploying my project:
> > > > >
> > > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > > 04-Jul-2012 12:52:12 org.apache.catalina.startup.HostConfig
> deployWAR
> > > > > INFO: Deploying web application archive
> > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > > 04-Jul-2012 12:52:12 org.apache.openejb.config.DeploymentLoader
> > > > > addFacesConfigs
> > > > > INFO: faces config file is null
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.ConfigurationFactory
> > > > > configureApplication
> > > > > INFO: Configuring enterprise application:
> > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments
> > > deploy
> > > > > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > > > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments
> > > deploy
> > > > > INFO: Auto-deploying ejb TestManagementService:
> > > > > EjbDeployment(deployment-id=TestManagementService)
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig deploy
> > > > > INFO: *Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > > setJtaDataSource
> > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > <jta-data-source>
> > > > > to Resource ID 'Default JDBC Database' from 'derbyDb'
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > > > setNonJtaDataSource
> > > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > > <non-jta-data-source> to Resource ID 'Default JDBC DatabaseNonJta'
> > from
> > > > > 'null'*
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AppInfoBuilder build
> > > > > INFO: Enterprise application
> > > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module" loaded.
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > > > createApplication
> > > > > INFO: Assembling app:
> > > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > > > parseValidationXml
> > > > > INFO: ignoreXmlConfiguration == true
> > > > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > > > parseValidationXml
> > > > > INFO: ignoreXmlConfiguration == true
> > > > > 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration configure
> > > > > INFO: Processing PersistenceUnitInfo [
> > > > > name: JerseyRestfulWebServicePU
> > > > > ...]
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder bindClass
> > > > > INFO: Binding entity from annotated class:
> > > > > com.shenick.diversifeye.domain.Host
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.annotations.EntityBinder
> > > bindTable
> > > > > INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationConfiguration
> > > > > secondPassCompile
> > > > > INFO: Hibernate Validator not found: ignoring
> > > > > 04-Jul-2012 12:52:13
> > org.hibernate.connection.ConnectionProviderFactory
> > > > > newConnectionProvider
> > > > > INFO: Initializing connection provider:
> > > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > > 04-Jul-2012 12:52:13
> > > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > configure
> > > > > INFO: Using provided datasource
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: JDBC driver: HSQL Database Engine Driver, version: 2.2.4
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Automatic flush during beforeCompletion(): disabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Automatic session close at end of transaction: disabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Scrollable result sets: enabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Connection release mode: auto
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Default batch fetch size: 1
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Generate SQL with comments: disabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Order SQL updates by primary key: disabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Order SQL inserts for batching: disabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > > createQueryTranslatorFactory
> > > > > INFO: Query translator:
> > org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Query language substitutions: {}
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: JPA-QL strict compliance: enabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Second-level cache: enabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Query cache: disabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > createCacheProvider
> > > > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Optimize cache for minimal puts: disabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Structured second-level cache entries: disabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Statistics: disabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Deleted entity synthetic identifier rollback: disabled
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Default entity-mode: pojo
> > > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> buildSettings
> > > > > INFO: Named query checking : enabled
> > > > > 04-Jul-2012 12:52:13
> > > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > > createEntityManagerFactory
> > > > > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > > provider=org.hibernate.ejb.HibernatePersistence) - provider time
> > 401ms*
> > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.assembler.classic.JndiBuilder
> > > > bind
> > > > > INFO: Jndi(name=localhost/tomee-jee6-module.CompLocalBean) -->
> > > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.assembler.classic.JndiBuilder
> > > > bind
> > > > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> > > > > Ejb(deployment-id=TestManagementService)
> > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.assembler.classic.JndiBuilder
> > > > bind
> > > > > INFO:
> > > > >
> > > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > 04-Jul-2012 12:52:13
> org.apache.openejb.assembler.classic.JndiBuilder
> > > > bind
> > > > > INFO:
> > > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > > --> Ejb(deployment-id=TestManagementService)
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder build
> > > > > INFO: existing thread singleton service in SystemInstance()
> > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > startApplication
> > > > > INFO: OpenWebBeans Container is starting...
> > > > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader
> startUp
> > > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader
> startUp
> > > > > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
> > > > > validateInjectionPoints
> > > > > INFO: All injection points were validated successfully.
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > > > startApplication
> > > > > INFO: OpenWebBeans Container has started, it took [15] ms.
> > > > > using context file
> > > > >
> > > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > > > createApplication
> > > > > INFO: Created Ejb(deployment-id=TestManagementService,
> > > > > ejb-name=TestManagementService, container=My Singleton Container)
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > > > createApplication
> > > > > INFO: Started Ejb(deployment-id=TestManagementService,
> > > > > ejb-name=TestManagementService, container=My Singleton Container)
> > > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > > > createApplication
> > > > > INFO: Deployed
> > > > >
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > safeBind
> > > > > SEVERE: Error in safeBind method
> > > > > javax.naming.NameNotFoundException: Name [openejb] is not bound in
> > this
> > > > > Context. Unable to find [openejb].
> > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > at
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > at
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > at
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > at
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > at
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > at
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > safeBind
> > > > > INFO: TransactionManager already bound, ignoring
> > > > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > safeBind
> > > > > INFO: TransactionSynchronizationRegistry already bound, ignoring
> > > > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > safeBind
> > > > > SEVERE: Error in safeBind method
> > > > > javax.naming.NameNotFoundException: No ORB registered with the
> > OpenEJB
> > > > > system
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > at
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > at
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > at
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > at
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > at
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > at
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > at
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > > safeBind
> > > > > SEVERE: Error in safeBind method
> > > > > javax.naming.NameNotFoundException: No HandleDelegate registered
> with
> > > the
> > > > > OpenEJB system
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > > at
> > > >
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > > at
> > > >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > > at
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > > at
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > > at
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > > at
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > > at
> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > > at
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > > at java.lang.Thread.run(Thread.java:662)
> > > > > 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl
> > initDestination
> > > > > INFO: Setting the server's publish address to be
> > > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> > > deployEJB
> > > > > INFO: REST Service:
> > > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*-> EJB
> > > > > TestManagementService
> > > > > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> > > > > afterApplicationCreated
> > > > > INFO: REST application deployed:
> > > > > com.shenick.diversifeye.config.ApplicationConfig
> > > > >
> > > > >
> > > > > Here is my persistence Unit:
> > > > >
> > > > > <persistence version="2.0" xmlns="
> > > http://java.sun.com/xml/ns/persistence
> > > > "
> > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > xsi:schemaLocation="
> > > > > http://java.sun.com/xml/ns/persistence
> > > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
> > > > > <persistence-unit name="JerseyRestfulWebServicePU"
> > > > transaction-type="JTA">
> > > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > > <jta-data-source>derbyDb</jta-data-source>
> > > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > > <properties>
> > > > > <property name="hibernate.dialect"
> > > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > > <property name="hibernate.hbm2ddl.auto" value="update"/>
> > > > > </properties>
> > > > > </persistence-unit>
> > > > > </persistence>
> > > > >
> > > > >
> > > > >
> > > > > I have a context.xml and openejb.xml specified in the META-INF
> folder
> > > > >
> > > > > openejb.xml:
> > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > <openejb>
> > > > > <Resource id="derbyDb" type="DataSource">
> > > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > > UserName app
> > > > > Password app
> > > > > JtaManaged true
> > > > > </Resource>
> > > > > </openejb>
> > > > >
> > > > > and context.xml:
> > > > >
> > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > <Context antiJARLocking="true" path="/tomee-jee6-module"/>
> > > > >
> > > > > I also have the resource referenced in the web.xml file:
> > > > > <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
> > > > > xmlns:xsi="
> > > > > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> > > > > http://java.sun.com/xml/ns/javaee
> > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> > > > > <session-config>
> > > > > <session-timeout>
> > > > > 30
> > > > > </session-timeout>
> > > > >   </session-config>
> > > > > <resource-ref>
> > > > > <description>
> > > > > Object factory for MyBean instances.
> > > > > </description>
> > > > > <res-ref-name>
> > > > > derbyDb
> > > > > </res-ref-name>
> > > > > <res-type>
> > > > > javax.sql.DataSource
> > > > > </res-type>
> > > > > <res-auth>
> > > > > Container
> > > > > </res-auth>
> > > > >   </resource-ref>
> > > > > </web-app>
> > > > >
> > > > >
> > > > > What am I doing wrong, or is it not possible to define a datasource
> > at
> > > a
> > > > > project level, and it should only be referenced in the tommee.xml
> > file?
> > > > >
> > > > > Thanks in advance
> > > > >
> > > > > John McDonnell
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > John
> > >
> >
>
>
>
> --
> John
>

Re: Project specific database

Posted by John McDonnell <mc...@gmail.com>.
I have downloaded the the snapshot of 1.1.0 and deployed the application,
but no luck.

when deploying the application, the application still uses HSQL for the
database, and not the defined Derby database.  Is there a problem with my
configuration? (context.xml/openejb.xml/web.xml)

John


On 4 July 2012 15:03, Romain Manni-Bucau <rm...@gmail.com> wrote:

> yep that's the same way netbeans deploys
>
> - Romain
>
>
> 2012/7/4 John McDonnell <mc...@gmail.com>
>
> > Hey, thanks for the fast reply...
> >
> > I dont use netbeans for deploying, I use to to build the maven project,
> and
> > then I use the management web app "/manager" to deploy.
> >
> >
> > I'll get the snapshot anyways and try that out.
> >
> > John
> >
> > On 4 July 2012 14:46, Romain Manni-Bucau <rm...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > do you use netbeans to deploy?
> > >
> > > maybe try out our snapshot since we fixed some issues regarding the way
> > > netbeans deploys.
> > >
> > > Side note: it is tomee.xml not tommee.xml
> > >
> > > - Romain
> > >
> > >
> > > 2012/7/4 John McDonnell <mc...@gmail.com>
> > >
> > > > I recently started looking to convert an JEE6 application working in
> > > > Glassfish application server to using TomEE+ 1.0 and I am having an
> > issue
> > > > with setting up the database.
> > > >
> > > > If I define the Resource in the tomee.xml file in the tomeeDir/conf/
> > > > directory I am able to use the database I specify, which is a Derby
> > > > database, but I want to be able to define the database to be project
> > > > specific, like I was able to do in Glassfish.
> > > >
> > > > What happens at the moment when I deploy the application I notice in
> > the
> > > > logs that TomEE adjusts the PU defined to use the Default JDBC
> > Database,
> > > > which was created, as I have removed the definitition of it from the
> > > > tomee.xml file.
> > > >
> > > > Here is the logs when deploying my project:
> > > >
> > > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > > 04-Jul-2012 12:52:12 org.apache.catalina.startup.HostConfig deployWAR
> > > > INFO: Deploying web application archive
> > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > > 04-Jul-2012 12:52:12 org.apache.openejb.config.DeploymentLoader
> > > > addFacesConfigs
> > > > INFO: faces config file is null
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.ConfigurationFactory
> > > > configureApplication
> > > > INFO: Configuring enterprise application:
> > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments
> > deploy
> > > > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments
> > deploy
> > > > INFO: Auto-deploying ejb TestManagementService:
> > > > EjbDeployment(deployment-id=TestManagementService)
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig deploy
> > > > INFO: *Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > provider=org.hibernate.ejb.HibernatePersistence)
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > setJtaDataSource
> > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > <jta-data-source>
> > > > to Resource ID 'Default JDBC Database' from 'derbyDb'
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > > setNonJtaDataSource
> > > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > > <non-jta-data-source> to Resource ID 'Default JDBC DatabaseNonJta'
> from
> > > > 'null'*
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AppInfoBuilder build
> > > > INFO: Enterprise application
> > > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module" loaded.
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > > createApplication
> > > > INFO: Assembling app:
> > > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > > parseValidationXml
> > > > INFO: ignoreXmlConfiguration == true
> > > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > > parseValidationXml
> > > > INFO: ignoreXmlConfiguration == true
> > > > 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration configure
> > > > INFO: Processing PersistenceUnitInfo [
> > > > name: JerseyRestfulWebServicePU
> > > > ...]
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder bindClass
> > > > INFO: Binding entity from annotated class:
> > > > com.shenick.diversifeye.domain.Host
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.annotations.EntityBinder
> > bindTable
> > > > INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationConfiguration
> > > > secondPassCompile
> > > > INFO: Hibernate Validator not found: ignoring
> > > > 04-Jul-2012 12:52:13
> org.hibernate.connection.ConnectionProviderFactory
> > > > newConnectionProvider
> > > > INFO: Initializing connection provider:
> > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > > 04-Jul-2012 12:52:13
> > > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > configure
> > > > INFO: Using provided datasource
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: JDBC driver: HSQL Database Engine Driver, version: 2.2.4
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Automatic flush during beforeCompletion(): disabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Automatic session close at end of transaction: disabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Scrollable result sets: enabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Connection release mode: auto
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Default batch fetch size: 1
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Generate SQL with comments: disabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Order SQL updates by primary key: disabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Order SQL inserts for batching: disabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > > createQueryTranslatorFactory
> > > > INFO: Query translator:
> org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Query language substitutions: {}
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: JPA-QL strict compliance: enabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Second-level cache: enabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Query cache: disabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > createCacheProvider
> > > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Optimize cache for minimal puts: disabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Structured second-level cache entries: disabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Statistics: disabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Deleted entity synthetic identifier rollback: disabled
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Default entity-mode: pojo
> > > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > > INFO: Named query checking : enabled
> > > > 04-Jul-2012 12:52:13
> > > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > > createEntityManagerFactory
> > > > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > > provider=org.hibernate.ejb.HibernatePersistence) - provider time
> 401ms*
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> > > bind
> > > > INFO: Jndi(name=localhost/tomee-jee6-module.CompLocalBean) -->
> > > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> > > bind
> > > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> > > > Ejb(deployment-id=TestManagementService)
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> > > bind
> > > > INFO:
> > > >
> > > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > > --> Ejb(deployment-id=TestManagementService)
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> > > bind
> > > > INFO:
> > Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > > --> Ejb(deployment-id=TestManagementService)
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder build
> > > > INFO: existing thread singleton service in SystemInstance()
> > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > > startApplication
> > > > INFO: OpenWebBeans Container is starting...
> > > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader startUp
> > > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader startUp
> > > > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
> > > > validateInjectionPoints
> > > > INFO: All injection points were validated successfully.
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > > startApplication
> > > > INFO: OpenWebBeans Container has started, it took [15] ms.
> > > > using context file
> > > >
> > > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > > createApplication
> > > > INFO: Created Ejb(deployment-id=TestManagementService,
> > > > ejb-name=TestManagementService, container=My Singleton Container)
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > > createApplication
> > > > INFO: Started Ejb(deployment-id=TestManagementService,
> > > > ejb-name=TestManagementService, container=My Singleton Container)
> > > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > > createApplication
> > > > INFO: Deployed
> > > >
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > safeBind
> > > > SEVERE: Error in safeBind method
> > > > javax.naming.NameNotFoundException: Name [openejb] is not bound in
> this
> > > > Context. Unable to find [openejb].
> > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > at
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > at
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > at
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > at
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > at java.lang.Thread.run(Thread.java:662)
> > > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > safeBind
> > > > INFO: TransactionManager already bound, ignoring
> > > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > safeBind
> > > > INFO: TransactionSynchronizationRegistry already bound, ignoring
> > > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > safeBind
> > > > SEVERE: Error in safeBind method
> > > > javax.naming.NameNotFoundException: No ORB registered with the
> OpenEJB
> > > > system
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > at
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > at
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > at
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > at
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > at
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > at
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > at java.lang.Thread.run(Thread.java:662)
> > > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > > safeBind
> > > > SEVERE: Error in safeBind method
> > > > javax.naming.NameNotFoundException: No HandleDelegate registered with
> > the
> > > > OpenEJB system
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > > at
> > > >
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > > at
> > >
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > > at
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > > at
> > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > > at
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > > at
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > at java.lang.Thread.run(Thread.java:662)
> > > > 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl
> initDestination
> > > > INFO: Setting the server's publish address to be
> > > > http://localhost:8080/tomee-jee6-module/webapi
> > > > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> > deployEJB
> > > > INFO: REST Service:
> > > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*-> EJB
> > > > TestManagementService
> > > > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> > > > afterApplicationCreated
> > > > INFO: REST application deployed:
> > > > com.shenick.diversifeye.config.ApplicationConfig
> > > >
> > > >
> > > > Here is my persistence Unit:
> > > >
> > > > <persistence version="2.0" xmlns="
> > http://java.sun.com/xml/ns/persistence
> > > "
> > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > xsi:schemaLocation="
> > > > http://java.sun.com/xml/ns/persistence
> > > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
> > > > <persistence-unit name="JerseyRestfulWebServicePU"
> > > transaction-type="JTA">
> > > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > > <jta-data-source>derbyDb</jta-data-source>
> > > > <class>com.shenick.diversifeye.domain.Host</class>
> > > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > > <properties>
> > > > <property name="hibernate.dialect"
> > > > value="org.hibernate.dialect.DerbyDialect"/>
> > > > <property name="hibernate.hbm2ddl.auto" value="update"/>
> > > > </properties>
> > > > </persistence-unit>
> > > > </persistence>
> > > >
> > > >
> > > >
> > > > I have a context.xml and openejb.xml specified in the META-INF folder
> > > >
> > > > openejb.xml:
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <openejb>
> > > > <Resource id="derbyDb" type="DataSource">
> > > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > > UserName app
> > > > Password app
> > > > JtaManaged true
> > > > </Resource>
> > > > </openejb>
> > > >
> > > > and context.xml:
> > > >
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <Context antiJARLocking="true" path="/tomee-jee6-module"/>
> > > >
> > > > I also have the resource referenced in the web.xml file:
> > > > <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
> > > > xmlns:xsi="
> > > > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> > > > http://java.sun.com/xml/ns/javaee
> > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> > > > <session-config>
> > > > <session-timeout>
> > > > 30
> > > > </session-timeout>
> > > >   </session-config>
> > > > <resource-ref>
> > > > <description>
> > > > Object factory for MyBean instances.
> > > > </description>
> > > > <res-ref-name>
> > > > derbyDb
> > > > </res-ref-name>
> > > > <res-type>
> > > > javax.sql.DataSource
> > > > </res-type>
> > > > <res-auth>
> > > > Container
> > > > </res-auth>
> > > >   </resource-ref>
> > > > </web-app>
> > > >
> > > >
> > > > What am I doing wrong, or is it not possible to define a datasource
> at
> > a
> > > > project level, and it should only be referenced in the tommee.xml
> file?
> > > >
> > > > Thanks in advance
> > > >
> > > > John McDonnell
> > > >
> > >
> >
> >
> >
> > --
> > John
> >
>



-- 
John

Re: Project specific database

Posted by Romain Manni-Bucau <rm...@gmail.com>.
yep that's the same way netbeans deploys

- Romain


2012/7/4 John McDonnell <mc...@gmail.com>

> Hey, thanks for the fast reply...
>
> I dont use netbeans for deploying, I use to to build the maven project, and
> then I use the management web app "/manager" to deploy.
>
>
> I'll get the snapshot anyways and try that out.
>
> John
>
> On 4 July 2012 14:46, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> > Hi,
> >
> > do you use netbeans to deploy?
> >
> > maybe try out our snapshot since we fixed some issues regarding the way
> > netbeans deploys.
> >
> > Side note: it is tomee.xml not tommee.xml
> >
> > - Romain
> >
> >
> > 2012/7/4 John McDonnell <mc...@gmail.com>
> >
> > > I recently started looking to convert an JEE6 application working in
> > > Glassfish application server to using TomEE+ 1.0 and I am having an
> issue
> > > with setting up the database.
> > >
> > > If I define the Resource in the tomee.xml file in the tomeeDir/conf/
> > > directory I am able to use the database I specify, which is a Derby
> > > database, but I want to be able to define the database to be project
> > > specific, like I was able to do in Glassfish.
> > >
> > > What happens at the moment when I deploy the application I notice in
> the
> > > logs that TomEE adjusts the PU defined to use the Default JDBC
> Database,
> > > which was created, as I have removed the definitition of it from the
> > > tomee.xml file.
> > >
> > > Here is the logs when deploying my project:
> > >
> > > TomcatWebAppBuilder.start /tomee-jee6-module
> > > 04-Jul-2012 12:52:12 org.apache.catalina.startup.HostConfig deployWAR
> > > INFO: Deploying web application archive
> > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > > 04-Jul-2012 12:52:12 org.apache.openejb.config.DeploymentLoader
> > > addFacesConfigs
> > > INFO: faces config file is null
> > > 04-Jul-2012 12:52:13 org.apache.openejb.config.ConfigurationFactory
> > > configureApplication
> > > INFO: Configuring enterprise application:
> > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments
> deploy
> > > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > > 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments
> deploy
> > > INFO: Auto-deploying ejb TestManagementService:
> > > EjbDeployment(deployment-id=TestManagementService)
> > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig deploy
> > > INFO: *Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > provider=org.hibernate.ejb.HibernatePersistence)
> > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > setJtaDataSource
> > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > <jta-data-source>
> > > to Resource ID 'Default JDBC Database' from 'derbyDb'
> > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > > setNonJtaDataSource
> > > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > > <non-jta-data-source> to Resource ID 'Default JDBC DatabaseNonJta' from
> > > 'null'*
> > > 04-Jul-2012 12:52:13 org.apache.openejb.config.AppInfoBuilder build
> > > INFO: Enterprise application
> > > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module" loaded.
> > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > createApplication
> > > INFO: Assembling app:
> > > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > parseValidationXml
> > > INFO: ignoreXmlConfiguration == true
> > > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > > parseValidationXml
> > > INFO: ignoreXmlConfiguration == true
> > > 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration configure
> > > INFO: Processing PersistenceUnitInfo [
> > > name: JerseyRestfulWebServicePU
> > > ...]
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder bindClass
> > > INFO: Binding entity from annotated class:
> > > com.shenick.diversifeye.domain.Host
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.annotations.EntityBinder
> bindTable
> > > INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationConfiguration
> > > secondPassCompile
> > > INFO: Hibernate Validator not found: ignoring
> > > 04-Jul-2012 12:52:13 org.hibernate.connection.ConnectionProviderFactory
> > > newConnectionProvider
> > > INFO: Initializing connection provider:
> > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > > 04-Jul-2012 12:52:13
> > > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > configure
> > > INFO: Using provided datasource
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: JDBC driver: HSQL Database Engine Driver, version: 2.2.4
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Automatic flush during beforeCompletion(): disabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Automatic session close at end of transaction: disabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Scrollable result sets: enabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: JDBC3 getGeneratedKeys(): enabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Connection release mode: auto
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Default batch fetch size: 1
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Generate SQL with comments: disabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Order SQL updates by primary key: disabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Order SQL inserts for batching: disabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > > createQueryTranslatorFactory
> > > INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Query language substitutions: {}
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: JPA-QL strict compliance: enabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Second-level cache: enabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Query cache: disabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > createCacheProvider
> > > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Optimize cache for minimal puts: disabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Structured second-level cache entries: disabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Statistics: disabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Deleted entity synthetic identifier rollback: disabled
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Default entity-mode: pojo
> > > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > > INFO: Named query checking : enabled
> > > 04-Jul-2012 12:52:13
> > > org.apache.openejb.assembler.classic.PersistenceBuilder
> > > createEntityManagerFactory
> > > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > > provider=org.hibernate.ejb.HibernatePersistence) - provider time 401ms*
> > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > > INFO: Jndi(name=localhost/tomee-jee6-module.CompLocalBean) -->
> > > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> > > Ejb(deployment-id=TestManagementService)
> > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > > INFO:
> > >
> > >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > > --> Ejb(deployment-id=TestManagementService)
> > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > > INFO:
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > > --> Ejb(deployment-id=TestManagementService)
> > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder build
> > > INFO: existing thread singleton service in SystemInstance()
> > > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > startApplication
> > > INFO: OpenWebBeans Container is starting...
> > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader startUp
> > > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader startUp
> > > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
> > > validateInjectionPoints
> > > INFO: All injection points were validated successfully.
> > > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > > startApplication
> > > INFO: OpenWebBeans Container has started, it took [15] ms.
> > > using context file
> > >
> > >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > createApplication
> > > INFO: Created Ejb(deployment-id=TestManagementService,
> > > ejb-name=TestManagementService, container=My Singleton Container)
> > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > createApplication
> > > INFO: Started Ejb(deployment-id=TestManagementService,
> > > ejb-name=TestManagementService, container=My Singleton Container)
> > > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > > createApplication
> > > INFO: Deployed
> > >
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > safeBind
> > > SEVERE: Error in safeBind method
> > > javax.naming.NameNotFoundException: Name [openejb] is not bound in this
> > > Context. Unable to find [openejb].
> > > at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > at
> > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > at
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > at
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > at
> > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > at
> > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > at
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > at
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > at
> > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > at java.lang.Thread.run(Thread.java:662)
> > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > safeBind
> > > INFO: TransactionManager already bound, ignoring
> > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > safeBind
> > > INFO: TransactionSynchronizationRegistry already bound, ignoring
> > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > safeBind
> > > SEVERE: Error in safeBind method
> > > javax.naming.NameNotFoundException: No ORB registered with the OpenEJB
> > > system
> > > at
> > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > at
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > at
> > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > at
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > at
> > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > at
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > at
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > at
> > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > at
> > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > at
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > at
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > at
> > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > at java.lang.Thread.run(Thread.java:662)
> > > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> > safeBind
> > > SEVERE: Error in safeBind method
> > > javax.naming.NameNotFoundException: No HandleDelegate registered with
> the
> > > OpenEJB system
> > > at
> > >
> > >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > > at
> > >
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > > at
> > >
> > >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > > at
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > > at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > > at
> > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > > at
> > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > at
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > > at
> > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > > at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > > at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > > at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > > at
> > >
> > >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > > at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > > at
> > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > > at
> > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > > at
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > > at
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > > at
> > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > at
> > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > at java.lang.Thread.run(Thread.java:662)
> > > 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl initDestination
> > > INFO: Setting the server's publish address to be
> > > http://localhost:8080/tomee-jee6-module/webapi
> > > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> deployEJB
> > > INFO: REST Service:
> > > http://localhost:8080/tomee-jee6-module/webapi/tms/.*-> EJB
> > > TestManagementService
> > > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> > > afterApplicationCreated
> > > INFO: REST application deployed:
> > > com.shenick.diversifeye.config.ApplicationConfig
> > >
> > >
> > > Here is my persistence Unit:
> > >
> > > <persistence version="2.0" xmlns="
> http://java.sun.com/xml/ns/persistence
> > "
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="
> > > http://java.sun.com/xml/ns/persistence
> > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
> > > <persistence-unit name="JerseyRestfulWebServicePU"
> > transaction-type="JTA">
> > > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > > <jta-data-source>derbyDb</jta-data-source>
> > > <class>com.shenick.diversifeye.domain.Host</class>
> > > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > > <properties>
> > > <property name="hibernate.dialect"
> > > value="org.hibernate.dialect.DerbyDialect"/>
> > > <property name="hibernate.hbm2ddl.auto" value="update"/>
> > > </properties>
> > > </persistence-unit>
> > > </persistence>
> > >
> > >
> > >
> > > I have a context.xml and openejb.xml specified in the META-INF folder
> > >
> > > openejb.xml:
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <openejb>
> > > <Resource id="derbyDb" type="DataSource">
> > > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > > JdbcUrl jdbc:derby://localhost:1527/sample
> > > UserName app
> > > Password app
> > > JtaManaged true
> > > </Resource>
> > > </openejb>
> > >
> > > and context.xml:
> > >
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <Context antiJARLocking="true" path="/tomee-jee6-module"/>
> > >
> > > I also have the resource referenced in the web.xml file:
> > > <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
> > > xmlns:xsi="
> > > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> > > http://java.sun.com/xml/ns/javaee
> > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> > > <session-config>
> > > <session-timeout>
> > > 30
> > > </session-timeout>
> > >   </session-config>
> > > <resource-ref>
> > > <description>
> > > Object factory for MyBean instances.
> > > </description>
> > > <res-ref-name>
> > > derbyDb
> > > </res-ref-name>
> > > <res-type>
> > > javax.sql.DataSource
> > > </res-type>
> > > <res-auth>
> > > Container
> > > </res-auth>
> > >   </resource-ref>
> > > </web-app>
> > >
> > >
> > > What am I doing wrong, or is it not possible to define a datasource at
> a
> > > project level, and it should only be referenced in the tommee.xml file?
> > >
> > > Thanks in advance
> > >
> > > John McDonnell
> > >
> >
>
>
>
> --
> John
>

Re: Project specific database

Posted by John McDonnell <mc...@gmail.com>.
Hey, thanks for the fast reply...

I dont use netbeans for deploying, I use to to build the maven project, and
then I use the management web app "/manager" to deploy.


I'll get the snapshot anyways and try that out.

John

On 4 July 2012 14:46, Romain Manni-Bucau <rm...@gmail.com> wrote:

> Hi,
>
> do you use netbeans to deploy?
>
> maybe try out our snapshot since we fixed some issues regarding the way
> netbeans deploys.
>
> Side note: it is tomee.xml not tommee.xml
>
> - Romain
>
>
> 2012/7/4 John McDonnell <mc...@gmail.com>
>
> > I recently started looking to convert an JEE6 application working in
> > Glassfish application server to using TomEE+ 1.0 and I am having an issue
> > with setting up the database.
> >
> > If I define the Resource in the tomee.xml file in the tomeeDir/conf/
> > directory I am able to use the database I specify, which is a Derby
> > database, but I want to be able to define the database to be project
> > specific, like I was able to do in Glassfish.
> >
> > What happens at the moment when I deploy the application I notice in the
> > logs that TomEE adjusts the PU defined to use the Default JDBC Database,
> > which was created, as I have removed the definitition of it from the
> > tomee.xml file.
> >
> > Here is the logs when deploying my project:
> >
> > TomcatWebAppBuilder.start /tomee-jee6-module
> > 04-Jul-2012 12:52:12 org.apache.catalina.startup.HostConfig deployWAR
> > INFO: Deploying web application archive
> > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> > 04-Jul-2012 12:52:12 org.apache.openejb.config.DeploymentLoader
> > addFacesConfigs
> > INFO: faces config file is null
> > 04-Jul-2012 12:52:13 org.apache.openejb.config.ConfigurationFactory
> > configureApplication
> > INFO: Configuring enterprise application:
> > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments deploy
> > INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> > EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> > 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments deploy
> > INFO: Auto-deploying ejb TestManagementService:
> > EjbDeployment(deployment-id=TestManagementService)
> > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig deploy
> > INFO: *Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
> > provider=org.hibernate.ejb.HibernatePersistence)
> > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> setJtaDataSource
> > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> <jta-data-source>
> > to Resource ID 'Default JDBC Database' from 'derbyDb'
> > 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> > setNonJtaDataSource
> > INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> > <non-jta-data-source> to Resource ID 'Default JDBC DatabaseNonJta' from
> > 'null'*
> > 04-Jul-2012 12:52:13 org.apache.openejb.config.AppInfoBuilder build
> > INFO: Enterprise application
> > "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module" loaded.
> > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Assembling app:
> > C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > parseValidationXml
> > INFO: ignoreXmlConfiguration == true
> > 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> > parseValidationXml
> > INFO: ignoreXmlConfiguration == true
> > 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration configure
> > INFO: Processing PersistenceUnitInfo [
> > name: JerseyRestfulWebServicePU
> > ...]
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder bindClass
> > INFO: Binding entity from annotated class:
> > com.shenick.diversifeye.domain.Host
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.annotations.EntityBinder bindTable
> > INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationConfiguration
> > secondPassCompile
> > INFO: Hibernate Validator not found: ignoring
> > 04-Jul-2012 12:52:13 org.hibernate.connection.ConnectionProviderFactory
> > newConnectionProvider
> > INFO: Initializing connection provider:
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > 04-Jul-2012 12:52:13
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> configure
> > INFO: Using provided datasource
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: JDBC driver: HSQL Database Engine Driver, version: 2.2.4
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Automatic flush during beforeCompletion(): disabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Automatic session close at end of transaction: disabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Scrollable result sets: enabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: JDBC3 getGeneratedKeys(): enabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Connection release mode: auto
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Default batch fetch size: 1
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Generate SQL with comments: disabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Order SQL updates by primary key: disabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Order SQL inserts for batching: disabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> > createQueryTranslatorFactory
> > INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Query language substitutions: {}
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: JPA-QL strict compliance: enabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Second-level cache: enabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Query cache: disabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> createCacheProvider
> > INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Optimize cache for minimal puts: disabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Structured second-level cache entries: disabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Statistics: disabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Deleted entity synthetic identifier rollback: disabled
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Default entity-mode: pojo
> > 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> > INFO: Named query checking : enabled
> > 04-Jul-2012 12:52:13
> > org.apache.openejb.assembler.classic.PersistenceBuilder
> > createEntityManagerFactory
> > INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> > provider=org.hibernate.ejb.HibernatePersistence) - provider time 401ms*
> > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=localhost/tomee-jee6-module.CompLocalBean) -->
> > Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=TestManagementServiceLocalBean) -->
> > Ejb(deployment-id=TestManagementService)
> > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO:
> >
> >
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> > --> Ejb(deployment-id=TestManagementService)
> > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> > --> Ejb(deployment-id=TestManagementService)
> > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder build
> > INFO: existing thread singleton service in SystemInstance()
> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > startApplication
> > INFO: OpenWebBeans Container is starting...
> > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader startUp
> > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader startUp
> > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
> > validateInjectionPoints
> > INFO: All injection points were validated successfully.
> > 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> > startApplication
> > INFO: OpenWebBeans Container has started, it took [15] ms.
> > using context file
> >
> >
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Created Ejb(deployment-id=TestManagementService,
> > ejb-name=TestManagementService, container=My Singleton Container)
> > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Started Ejb(deployment-id=TestManagementService,
> > ejb-name=TestManagementService, container=My Singleton Container)
> > 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Deployed
> >
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> safeBind
> > SEVERE: Error in safeBind method
> > javax.naming.NameNotFoundException: Name [openejb] is not bound in this
> > Context. Unable to find [openejb].
> > at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > at
> >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > at
> >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > at
> >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > at
> >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > at
> >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > at java.lang.Thread.run(Thread.java:662)
> > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> safeBind
> > INFO: TransactionManager already bound, ignoring
> > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> safeBind
> > INFO: TransactionSynchronizationRegistry already bound, ignoring
> > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> safeBind
> > SEVERE: Error in safeBind method
> > javax.naming.NameNotFoundException: No ORB registered with the OpenEJB
> > system
> > at
> >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > at
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > at
> >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > at
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > at
> >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > at
> >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > at
> >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > at
> >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > at
> >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > at java.lang.Thread.run(Thread.java:662)
> > 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder
> safeBind
> > SEVERE: Error in safeBind method
> > javax.naming.NameNotFoundException: No HandleDelegate registered with the
> > OpenEJB system
> > at
> >
> >
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> > at
> >
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> > at
> >
> >
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> > at
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> > at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> > at
> >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> > at
> >
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> > at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> > at
> >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> > at
> >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> > at
> >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> > at
> >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > at java.lang.Thread.run(Thread.java:662)
> > 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl initDestination
> > INFO: Setting the server's publish address to be
> > http://localhost:8080/tomee-jee6-module/webapi
> > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService deployEJB
> > INFO: REST Service:
> > http://localhost:8080/tomee-jee6-module/webapi/tms/.*-> EJB
> > TestManagementService
> > 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> > afterApplicationCreated
> > INFO: REST application deployed:
> > com.shenick.diversifeye.config.ApplicationConfig
> >
> >
> > Here is my persistence Unit:
> >
> > <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence
> "
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> > http://java.sun.com/xml/ns/persistence
> > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
> > <persistence-unit name="JerseyRestfulWebServicePU"
> transaction-type="JTA">
> > <provider>org.hibernate.ejb.HibernatePersistence</provider>
> > <jta-data-source>derbyDb</jta-data-source>
> > <class>com.shenick.diversifeye.domain.Host</class>
> > <exclude-unlisted-classes>false</exclude-unlisted-classes>
> > <properties>
> > <property name="hibernate.dialect"
> > value="org.hibernate.dialect.DerbyDialect"/>
> > <property name="hibernate.hbm2ddl.auto" value="update"/>
> > </properties>
> > </persistence-unit>
> > </persistence>
> >
> >
> >
> > I have a context.xml and openejb.xml specified in the META-INF folder
> >
> > openejb.xml:
> > <?xml version="1.0" encoding="UTF-8"?>
> > <openejb>
> > <Resource id="derbyDb" type="DataSource">
> > JdbcDriver org.apache.derby.jdbc.ClientDriver
> > JdbcUrl jdbc:derby://localhost:1527/sample
> > UserName app
> > Password app
> > JtaManaged true
> > </Resource>
> > </openejb>
> >
> > and context.xml:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <Context antiJARLocking="true" path="/tomee-jee6-module"/>
> >
> > I also have the resource referenced in the web.xml file:
> > <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
> > xmlns:xsi="
> > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> > http://java.sun.com/xml/ns/javaee
> > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> > <session-config>
> > <session-timeout>
> > 30
> > </session-timeout>
> >   </session-config>
> > <resource-ref>
> > <description>
> > Object factory for MyBean instances.
> > </description>
> > <res-ref-name>
> > derbyDb
> > </res-ref-name>
> > <res-type>
> > javax.sql.DataSource
> > </res-type>
> > <res-auth>
> > Container
> > </res-auth>
> >   </resource-ref>
> > </web-app>
> >
> >
> > What am I doing wrong, or is it not possible to define a datasource at a
> > project level, and it should only be referenced in the tommee.xml file?
> >
> > Thanks in advance
> >
> > John McDonnell
> >
>



-- 
John

Re: Project specific database

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,

do you use netbeans to deploy?

maybe try out our snapshot since we fixed some issues regarding the way
netbeans deploys.

Side note: it is tomee.xml not tommee.xml

- Romain


2012/7/4 John McDonnell <mc...@gmail.com>

> I recently started looking to convert an JEE6 application working in
> Glassfish application server to using TomEE+ 1.0 and I am having an issue
> with setting up the database.
>
> If I define the Resource in the tomee.xml file in the tomeeDir/conf/
> directory I am able to use the database I specify, which is a Derby
> database, but I want to be able to define the database to be project
> specific, like I was able to do in Glassfish.
>
> What happens at the moment when I deploy the application I notice in the
> logs that TomEE adjusts the PU defined to use the Default JDBC Database,
> which was created, as I have removed the definitition of it from the
> tomee.xml file.
>
> Here is the logs when deploying my project:
>
> TomcatWebAppBuilder.start /tomee-jee6-module
> 04-Jul-2012 12:52:12 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module.war
> 04-Jul-2012 12:52:12 org.apache.openejb.config.DeploymentLoader
> addFacesConfigs
> INFO: faces config file is null
> 04-Jul-2012 12:52:13 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb localhost/tomee-jee6-module.Comp:
> EjbDeployment(deployment-id=localhost/tomee-jee6-module.Comp)
> 04-Jul-2012 12:52:13 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb TestManagementService:
> EjbDeployment(deployment-id=TestManagementService)
> 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig deploy
> INFO: *Configuring PersistenceUnit(name=JerseyRestfulWebServicePU,
> provider=org.hibernate.ejb.HibernatePersistence)
> 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig setJtaDataSource
> INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU <jta-data-source>
> to Resource ID 'Default JDBC Database' from 'derbyDb'
> 04-Jul-2012 12:52:13 org.apache.openejb.config.AutoConfig
> setNonJtaDataSource
> INFO: Adjusting PersistenceUnit JerseyRestfulWebServicePU
> <non-jta-data-source> to Resource ID 'Default JDBC DatabaseNonJta' from
> 'null'*
> 04-Jul-2012 12:52:13 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
> "C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module" loaded.
> 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app:
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module
> 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> parseValidationXml
> INFO: ignoreXmlConfiguration == true
> 04-Jul-2012 12:52:13 org.apache.bval.jsr303.ConfigurationImpl
> parseValidationXml
> INFO: ignoreXmlConfiguration == true
> 04-Jul-2012 12:52:13 org.hibernate.ejb.Ejb3Configuration configure
> INFO: Processing PersistenceUnitInfo [
> name: JerseyRestfulWebServicePU
> ...]
> 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationBinder bindClass
> INFO: Binding entity from annotated class:
> com.shenick.diversifeye.domain.Host
> 04-Jul-2012 12:52:13 org.hibernate.cfg.annotations.EntityBinder bindTable
> INFO: Bind entity com.shenick.diversifeye.domain.Host on table Host
> 04-Jul-2012 12:52:13 org.hibernate.cfg.AnnotationConfiguration
> secondPassCompile
> INFO: Hibernate Validator not found: ignoring
> 04-Jul-2012 12:52:13 org.hibernate.connection.ConnectionProviderFactory
> newConnectionProvider
> INFO: Initializing connection provider:
> org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 04-Jul-2012 12:52:13
> org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider configure
> INFO: Using provided datasource
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: *RDBMS: HSQL Database Engine, version: 2.2.4*
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: JDBC driver: HSQL Database Engine Driver, version: 2.2.4
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Automatic flush during beforeCompletion(): disabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Automatic session close at end of transaction: disabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Scrollable result sets: enabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: JDBC3 getGeneratedKeys(): enabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Connection release mode: auto
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Default batch fetch size: 1
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Generate SQL with comments: disabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Order SQL updates by primary key: disabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Order SQL inserts for batching: disabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory
> createQueryTranslatorFactory
> INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Query language substitutions: {}
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: JPA-QL strict compliance: enabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Second-level cache: enabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Query cache: disabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory createCacheProvider
> INFO: Cache provider: org.hibernate.cache.NoCacheProvider
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Optimize cache for minimal puts: disabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Structured second-level cache entries: disabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Statistics: disabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Deleted entity synthetic identifier rollback: disabled
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Default entity-mode: pojo
> 04-Jul-2012 12:52:13 org.hibernate.cfg.SettingsFactory buildSettings
> INFO: Named query checking : enabled
> 04-Jul-2012 12:52:13
> org.apache.openejb.assembler.classic.PersistenceBuilder
> createEntityManagerFactory
> INFO: *PersistenceUnit(name=JerseyRestfulWebServicePU,
> provider=org.hibernate.ejb.HibernatePersistence) - provider time 401ms*
> 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=localhost/tomee-jee6-module.CompLocalBean) -->
> Ejb(deployment-id=localhost/tomee-jee6-module.Comp)
> 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=TestManagementServiceLocalBean) -->
> Ejb(deployment-id=TestManagementService)
> 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO:
>
> Jndi(name=global/localhost/tomee-jee6-module/TestManagementService!com.shenick.diversifeye.service.TestManagementService)
> --> Ejb(deployment-id=TestManagementService)
> 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/localhost/tomee-jee6-module/TestManagementService)
> --> Ejb(deployment-id=TestManagementService)
> 04-Jul-2012 12:52:13 org.apache.openejb.cdi.CdiBuilder build
> INFO: existing thread singleton service in SystemInstance()
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@76136c55
> 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 04-Jul-2012 12:52:13 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 04-Jul-2012 12:52:13 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points were validated successfully.
> 04-Jul-2012 12:52:13 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took [15] ms.
> using context file
>
> C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module\META-INF\context.xml
> 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Created Ejb(deployment-id=TestManagementService,
> ejb-name=TestManagementService, container=My Singleton Container)
> 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Started Ejb(deployment-id=TestManagementService,
> ejb-name=TestManagementService, container=My Singleton Container)
> 04-Jul-2012 12:52:13 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed
> Application(path=C:\dev\apache-tomee-plus-1.0.0\webapps\tomee-jee6-module)
> 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder safeBind
> SEVERE: Error in safeBind method
> javax.naming.NameNotFoundException: Name [openejb] is not bound in this
> Context. Unable to find [openejb].
> at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
> at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> at
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> at
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> at
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> at
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> at
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder safeBind
> INFO: TransactionManager already bound, ignoring
> 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder safeBind
> INFO: TransactionSynchronizationRegistry already bound, ignoring
> 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder safeBind
> SEVERE: Error in safeBind method
> javax.naming.NameNotFoundException: No ORB registered with the OpenEJB
> system
> at
>
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> at
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> at
>
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
> at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> at
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> at
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> at
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> at
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> at
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> 04-Jul-2012 12:52:14 org.apache.tomee.catalina.TomcatWebAppBuilder safeBind
> SEVERE: Error in safeBind method
> javax.naming.NameNotFoundException: No HandleDelegate registered with the
> OpenEJB system
> at
>
> org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
> at
> org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> at
>
> org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
> at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
> at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
> at
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> at
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
> at
> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:398)
> at
>
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> at
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> at
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> 04-Jul-2012 12:52:14 org.apache.cxf.endpoint.ServerImpl initDestination
> INFO: Setting the server's publish address to be
> http://localhost:8080/tomee-jee6-module/webapi
> 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService deployEJB
> INFO: REST Service:
> http://localhost:8080/tomee-jee6-module/webapi/tms/.*-> EJB
> TestManagementService
> 04-Jul-2012 12:52:14 org.apache.openejb.server.rest.RESTService
> afterApplicationCreated
> INFO: REST application deployed:
> com.shenick.diversifeye.config.ApplicationConfig
>
>
> Here is my persistence Unit:
>
> <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> http://java.sun.com/xml/ns/persistence
> http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
> <persistence-unit name="JerseyRestfulWebServicePU" transaction-type="JTA">
> <provider>org.hibernate.ejb.HibernatePersistence</provider>
> <jta-data-source>derbyDb</jta-data-source>
> <class>com.shenick.diversifeye.domain.Host</class>
> <exclude-unlisted-classes>false</exclude-unlisted-classes>
> <properties>
> <property name="hibernate.dialect"
> value="org.hibernate.dialect.DerbyDialect"/>
> <property name="hibernate.hbm2ddl.auto" value="update"/>
> </properties>
> </persistence-unit>
> </persistence>
>
>
>
> I have a context.xml and openejb.xml specified in the META-INF folder
>
> openejb.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <openejb>
> <Resource id="derbyDb" type="DataSource">
> JdbcDriver org.apache.derby.jdbc.ClientDriver
> JdbcUrl jdbc:derby://localhost:1527/sample
> UserName app
> Password app
> JtaManaged true
> </Resource>
> </openejb>
>
> and context.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Context antiJARLocking="true" path="/tomee-jee6-module"/>
>
> I also have the resource referenced in the web.xml file:
> <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
> <session-config>
> <session-timeout>
> 30
> </session-timeout>
>   </session-config>
> <resource-ref>
> <description>
> Object factory for MyBean instances.
> </description>
> <res-ref-name>
> derbyDb
> </res-ref-name>
> <res-type>
> javax.sql.DataSource
> </res-type>
> <res-auth>
> Container
> </res-auth>
>   </resource-ref>
> </web-app>
>
>
> What am I doing wrong, or is it not possible to define a datasource at a
> project level, and it should only be referenced in the tommee.xml file?
>
> Thanks in advance
>
> John McDonnell
>