openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremyau <ja.activest...@gmail.com>
Subject Grails on TomEE
Date Fri, 03 Aug 2012 00:02:49 GMT
Hi,

I tried to deploy a simple grails application on TomEE and it seems there is
an issue with the bean validation librarie. 

What I did is:
grails create-app
grails war (to create the war file)

When I delete the bval-jsr303-0.4.jar, it works.

Here are my logs:

Using CATALINA_BASE:   /home/jeremya/Documents/tomee_FP
Using CATALINA_HOME:   /home/jeremya/Documents/tomee_FP
Using CATALINA_TMPDIR: /home/jeremya/Documents/tomee_FP/temp
Using JRE_HOME:        /usr/lib/jvm/java-7-openjdk-amd64/
Using CLASSPATH:      
/home/jeremya/Documents/tomee_FP/bin/bootstrap.jar:/home/jeremya/Documents/tomee_FP/bin/tomcat-juli.jar
Aug 02, 2012 5:00:28 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
Aug 02, 2012 5:00:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Aug 02, 2012 5:00:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Aug 02, 2012 5:00:29 PM org.apache.openejb.server.ServiceLogger <clinit>
INFO: can't find log4j MDC class
Aug 02, 2012 5:00:29 PM org.apache.openejb.OpenEJB$Instance <init>
INFO:
********************************************************************************
Aug 02, 2012 5:00:29 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: OpenEJB http://openejb.apache.org/
Aug 02, 2012 5:00:29 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Startup: Thu Aug 02 17:00:29 PDT 2012
Aug 02, 2012 5:00:29 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
Aug 02, 2012 5:00:29 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Version: 4.0.0
Aug 02, 2012 5:00:29 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Build date: 20120426
Aug 02, 2012 5:00:29 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Build time: 08:49
Aug 02, 2012 5:00:29 PM org.apache.openejb.OpenEJB$Instance <init>
INFO:
********************************************************************************
Aug 02, 2012 5:00:29 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.home = /home/jeremya/Documents/tomee_FP
Aug 02, 2012 5:00:29 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.base = /home/jeremya/Documents/tomee_FP
Aug 02, 2012 5:00:29 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Created new singletonService
org.apache.openejb.cdi.ThreadSingletonServiceImpl@1ea57c18
Aug 02, 2012 5:00:29 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: succeeded in installing singleton service
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.ConfigurationFactory init
INFO: openejb configuration file is
'/home/jeremya/Documents/tomee_FP/conf/tomee.xml'
Aug 02, 2012 5:00:29 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.provider.default=org.apache.tomee'
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Tomcat Security Service, type=SecurityService,
provider-id=Tomcat Security Service)
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My DataSource, type=Resource,
provider-id=Default JDBC Database)
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource,
provider-id=Default JDBC Database)
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Singleton Container, type=Container,
provider-id=Default Singleton Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Stateful Container, type=Container,
provider-id=Default Stateful Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=My Stateless Container, type=Container,
provider-id=Default Stateless Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.system.apps=true'
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: null
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Using openejb.deploymentId.format '{ejbName}'
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/Deployer:
EjbDeployment(deployment-id=openejb/Deployer)
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/ConfigurationInfo:
EjbDeployment(deployment-id=openejb/ConfigurationInfo)
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
Aug 02, 2012 5:00:29 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "openejb" loaded.
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating TransactionManager(id=Default Transaction Manager)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating SecurityService(id=Tomcat Security Service)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=My DataSource)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=My Unmanaged DataSource)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=My Singleton Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=My Stateful Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.core.stateful.SimplePassivater
init
INFO: Using directory /home/jeremya/Documents/tomee_FP/temp for stateful
session passivation
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=My Stateless Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: openejb
Aug 02, 2012 5:00:29 PM org.apache.bval.jsr303.ConfigurationImpl
parseValidationXml
INFO: ignoreXmlConfiguration == true
Aug 02, 2012 5:00:29 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
Ejb(deployment-id=openejb/Deployer)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
--> Ejb(deployment-id=openejb/Deployer)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/Deployer) -->
Ejb(deployment-id=openejb/Deployer)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
--> Ejb(deployment-id=openejb/ConfigurationInfo)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
--> Ejb(deployment-id=MEJB)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
Aug 02, 2012 5:00:29 PM org.apache.openejb.cdi.CdiBuilder build
INFO: existing thread singleton service in SystemInstance()
org.apache.openejb.cdi.ThreadSingletonServiceImpl@1ea57c18
Aug 02, 2012 5:00:29 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
Aug 02, 2012 5:00:29 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
Aug 02, 2012 5:00:29 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
Aug 02, 2012 5:00:29 PM org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points were validated successfully.
Aug 02, 2012 5:00:29 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took [67] ms.
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer,
container=My Stateless Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless
Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer,
container=My Stateless Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless
Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
Aug 02, 2012 5:00:29 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed Application(path=openejb)
Aug 02, 2012 5:00:29 PM org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf)
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=admin)
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf-rs)
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Starting service cxf
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Started service cxf
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Starting service admin
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Started service admin
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Starting service cxf-rs
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Started service cxf-rs
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager start
INFO:   ** Bound Services **
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager
printRow
INFO:   NAME                 IP              PORT  
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager
printRow
INFO:   admin                127.0.0.1       4200  
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager start
INFO: -------
Aug 02, 2012 5:00:30 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Ready!
Aug 02, 2012 5:00:30 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2324 ms
Aug 02, 2012 5:00:30 PM
org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
'org.apache.catalina.UserDatabase'.
Aug 02, 2012 5:00:30 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=UserDatabase)
Aug 02, 2012 5:00:30 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Aug 02, 2012 5:00:30 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Aug 02, 2012 5:00:30 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/home/jeremya/Documents/tomee_FP/webapps/ROOT.war
TomcatWebAppBuilder.start 
Aug 02, 2012 5:00:30 PM org.apache.openejb.config.DeploymentLoader
addFacesConfigs
INFO: faces config file is null
Aug 02, 2012 5:00:30 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application:
/home/jeremya/Documents/tomee_FP/webapps/ROOT
Aug 02, 2012 5:00:30 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "/home/jeremya/Documents/tomee_FP/webapps/ROOT"
loaded.
Aug 02, 2012 5:00:30 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: /home/jeremya/Documents/tomee_FP/webapps/ROOT
Aug 02, 2012 5:00:30 PM org.apache.bval.jsr303.ConfigurationImpl
parseValidationXml
INFO: ignoreXmlConfiguration == true
Aug 02, 2012 5:00:30 PM
org.apache.openejb.assembler.classic.ValidatorBuilder buildFactory
WARNING: Unable create validator factory with config
org.apache.openejb.assembler.classic.ValidationInfo@378f95c8 (Invalid
provider definition). Default factory will be used.
Aug 02, 2012 5:00:31 PM org.apache.bval.jsr303.ConfigurationImpl
parseValidationXml
INFO: ignoreXmlConfiguration == true
Aug 02, 2012 5:00:31 PM
org.apache.openejb.assembler.classic.ValidatorBuilder buildFactory
WARNING: Unable create validator factory with config
org.apache.openejb.assembler.classic.ValidationInfo@2a19e907 (Invalid
provider definition). Default factory will be used.
Aug 02, 2012 5:00:31 PM org.apache.openejb.cdi.CdiBuilder build
INFO: existing thread singleton service in SystemInstance()
org.apache.openejb.cdi.ThreadSingletonServiceImpl@1ea57c18
Aug 02, 2012 5:00:31 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
Aug 02, 2012 5:00:31 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
Aug 02, 2012 5:00:31 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
Aug 02, 2012 5:00:31 PM org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points were validated successfully.
Aug 02, 2012 5:00:31 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took [5] ms.
Aug 02, 2012 5:00:31 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed
Application(path=/home/jeremya/Documents/tomee_FP/webapps/ROOT)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/jeremya/Documents/tomee_FP/lib/slf4j-jdk14-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/jeremya/Documents/tomee_FP/webapps/ROOT/WEB-INF/lib/grails-plugin-log4j-2.1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
Aug 02, 2012 5:00:37 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
WARNING: No mappings of FacesServlet found. Abort initializing MyFaces.
Aug 02, 2012 5:00:37 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Error listenerStart
Aug 02, 2012 5:00:37 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Context [] startup failed due to previous errors
Aug 02, 2012 5:00:37 PM org.apache.myfaces.webapp.AbstractFacesInitializer
destroyFaces
WARNING: No mappings of FacesServlet found. Abort destroy MyFaces.
Aug 02, 2012 5:00:37 PM org.apache.openejb.assembler.classic.Assembler
destroyApplication
INFO: Undeploying app: /home/jeremya/Documents/tomee_FP/webapps/ROOT
Aug 02, 2012 5:00:38 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Aug 02, 2012 5:00:38 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Aug 02, 2012 5:00:38 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7951 ms



--
View this message in context: http://openejb.979440.n4.nabble.com/Grails-on-TomEE-tp4656642.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message