Skip to content

Instantly share code, notes, and snippets.

@rmannibucau
Last active August 31, 2016 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rmannibucau/4e3e866ad5db492ebfcba74296752790 to your computer and use it in GitHub Desktop.
Save rmannibucau/4e3e866ad5db492ebfcba74296752790 to your computer and use it in GitHub Desktop.
# log format simplified for the gist
{ apache-batchee-openejb-0.4-incubating-SNAPSHOT } master » ./bin/batchee start -lifecycle openejb -archive /opt/dev/github/simplebatch-1.0-SNAPSHOT.war sample -name sample
/cygdrive/c/Program Files/Java/jdk1.8.0_72/bin/java
INFO ********************************************************************************
INFO OpenEJB http://tomee.apache.org/
INFO Startup: Wed Aug 31 17:52:22 CEST 2016
INFO Copyright 1999-2016 (C) Apache OpenEJB Project, All Rights Reserved.
INFO Version: 7.0.1
INFO Build date: 20160623
INFO Build time: 12:04
INFO ********************************************************************************
INFO openejb.home = D:\dev\apache\incubator-batchee\tools\cli\target\apache-batchee-openejb-0.4-incubating-SNAPSHOT
INFO openejb.base = D:\dev\apache\incubator-batchee\tools\cli\target\apache-batchee-openejb-0.4-incubating-SNAPSHOT
INFO Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@4ac68d3e
INFO Succeeded in installing singleton service
INFO Cannot find the configuration file [conf/openejb.xml]. Creating one at D:\dev\apache\incubator-batchee\tools\cli\target\apache-batchee-openejb-0.4-incubating-SNAPSHOT\conf\openejb.xml
INFO TomEE configuration file is 'D:\dev\apache\incubator-batchee\tools\cli\target\apache-batchee-openejb-0.4-incubating-SNAPSHOT\conf\openejb.xml'
INFO Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
INFO Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
INFO Configuring Service(id=My DataSource, type=Resource, provider-id=Default JDBC Database)
INFO Configuring Service(id=My Unmanaged DataSource, type=Resource, provider-id=Default JDBC Database)
INFO Configuring Service(id=My Singleton Container, type=Container, provider-id=Default Singleton Container)
INFO Configuring Service(id=My Stateful Container, type=Container, provider-id=Default Stateful Container)
INFO Configuring Service(id=My Stateless Container, type=Container, provider-id=Default Stateless Container)
31-ao▒t-2016 17:52:22.993 WARNING File error: <Deployments dir="apps/"> - Does not exist: D:\dev\apache\incubator-batchee\tools\cli\target\apache-batchee-openejb-0.4-incubating-SNAPSHOT\apps
INFO Using 'openejb.deployments.classpath=false'
INFO Creating TransactionManager(id=Default Transaction Manager)
INFO Creating SecurityService(id=Default Security Service)
INFO Creating Resource(id=My DataSource)
INFO Creating Resource(id=My Unmanaged DataSource)
INFO Creating Container(id=My Singleton Container)
INFO Creating Container(id=My Stateful Container)
INFO Using directory C:\Users\romain\.babun\cygwin\tmp for stateful session passivation
INFO Creating Container(id=My Stateless Container)
INFO Configuring enterprise application: D:\dev\apache\incubator-batchee\tools\cli\target\apache-batchee-openejb-0.4-incubating-SNAPSHOT\work\simplebatch-1.0-SNAPSHOT.war
INFO Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
INFO Auto-creating a container for bean simplebatch-1.0-SNAPSHOT.Comp1954471782: Container(type=MANAGED, id=Default Managed Container)
INFO Creating Container(id=Default Managed Container)
INFO Using directory C:\Users\romain\.babun\cygwin\tmp for stateful session passivation
INFO Configuring PersistenceUnit(name=pu)
INFO Adjusting PersistenceUnit pu <jta-data-source> to Resource ID 'My DataSource' from 'jdbc/sample'
INFO Adjusting PersistenceUnit pu <non-jta-data-source> to Resource ID 'My Unmanaged DataSource' from 'null'
INFO Enterprise application "D:\dev\apache\incubator-batchee\tools\cli\target\apache-batchee-openejb-0.4-incubating-SNAPSHOT\work\simplebatch-1.0-SNAPSHOT.war" loaded.
INFO Assembling app: D:\dev\apache\incubator-batchee\tools\cli\target\apache-batchee-openejb-0.4-incubating-SNAPSHOT\work\simplebatch-1.0-SNAPSHOT.war
40 pu INFO [main] openjpa.Enhance - You have enabled runtime enhancement, but have not specified the set of persistent classes. OpenJPA must look for metadata for every loaded class, which might increase class load times significantly.
INFO JAVA AGENT NOT INSTALLED. The JPA Persistence Provider requested installation of a ClassFileTransformer which requires a JavaAgent. See http://tomee.apache.org/javaagent.html
80 pu INFO [main] openjpa.Runtime - OpenJPA dynamically loaded a validation provider.
INFO PersistenceUnit(name=pu, provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider time 263ms
INFO Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@4ac68d3e
INFO OpenWebBeans Container is starting...
INFO [main] org.apache.webbeans.plugins.PluginLoader.startUp Adding OpenWebBeansPlugin : [CdiPlugin]
INFO Using annotated mode for file:/D:/dev/apache/incubator-batchee/tools/cli/target/apache-batchee-openejb-0.4-incubating-SNAPSHOT/work/simplebatch-1.0-SNAPSHOT.war/WEB-INF/classes/ looking all classes to find CDI beans, maybe think to add a beans.xml if not there or add the jar to exclusions.list
INFO [main] org.apache.webbeans.config.BeansDeployer.validateInjectionPoints All injection points were validated successfully.
INFO OpenWebBeans Container has started, it took 372 ms.
INFO Deployed Application(path=D:\dev\apache\incubator-batchee\tools\cli\target\apache-batchee-openejb-0.4-incubating-SNAPSHOT\work\simplebatch-1.0-SNAPSHOT.war)
____ _ _ ______ ______
| _ \ | | | | | ____| ____|
| |_) | __ _| |_ ___| |__ | |__ | |__
| _ < / _` | __/ __| '_ \| __| | __|
| |_) | (_| | || (__| | | | |____| |____
|____/ \__,_|\__\___|_| |_|______|______|0.4-incubating-SNAPSHOT
Admin mode deactivated, use -socket to activate it
Batch 'sample' started with id #0
>>> RUNNING
=========================
Batch status: COMPLETED
Exit status: COMPLETED
Duration: 0s
=========================
INFO Undeploying app: D:\dev\apache\incubator-batchee\tools\cli\target\apache-batchee-openejb-0.4-incubating-SNAPSHOT\work\simplebatch-1.0-SNAPSHOT.war
INFO Destroying container system
INFO Closing DataSource: My DataSource
INFO Closing DataSource: My Unmanaged DataSource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment