tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: apache tomee 1.5 run in blocking mode
Date Fri, 05 Oct 2012 11:20:28 GMT
Hi,

i suggest you to browse tomee maven plugin:
http://svn.apache.org/repos/asf/openejb/trunk/openejb/maven/tomee-maven-plugin/

it has the tomee:run and tomee:start commands which are either blocking or
not

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*




2012/10/5 jszczepankiewicz <jszczepankiewicz@gmail.com>

> Hi,
>
> I need to run tomme webprofile 1.5 from ant. The main problem is I do not
> want to use shutdown / startup because I want to start Tomcat in blocking
> mode in order to have stdout/stdio on eclipse console. I have managed to
> run
> apache tomcat with tomee 1.0 (deployed from war) from command line
> successfully using below code. But running apache tomme 1.5 produce error
> (belowy). Has anybody give some light on how should I change command line
> invocation in order to achieve running tomee in blocking mode (not as
> daemon
> process), I know that this information is somewhere in *.bat files, but
> they're complicated for me to understand them (to many of them). Thanks in
> advance:
>
> ============ my working ant target which runs tomcat 7 + tommee in blocking
> mode ================================
> <java classname="org.apache.catalina.startup.Bootstrap" failonerror="true"
> fork="true">
>                                         <classpath
> path="${tomcat.home}/bin/bootstrap.jar:${tomcat.home}/bin/tomcat-juli.jar"
> />
>
>                                         <jvmarg
> value="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
> />
>                                         <jvmarg
>
> value="-Djava.util.logging.config.file=${tomcat.home}/conf/logging.properties"
> />
>                                         <jvmarg
> value="-Djava.security.auth.login.config=${tomcat.home}/conf/login.config"
> />
>
>                                         <jvmarg
> value="-Dcatalina.home=${tomcat.home}" />
>                                         <jvmarg
> value="-Dcatalina.base=${tomcat.home}" />
>
>                                         <jvmarg value="-Duser.language=pl"
> />
>                                         <jvmarg value="-Duser.country=PL"
> />
>
>                                         <jvmarg
> value="-Djava.io.tmpdir=${tomcat.home}/temp" />
>                                         <jvmarg value="-Xdebug" />
>                                         <jvmarg
> value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" />
>                                         <jvmarg
> value="-Djava.endorsed.dirs=$CATALINA_HOME/endorsed"/>
>
>                                         <jvmarg
> value="-javaagent:${tomcat.home}/lib/openejb-javaagent.jar" />
>
>                                         <jvmarg
> value="-XX:-UseSplitVerifier" />
>                                         <jvmarg
> value="-XX:MaxPermSize=512m" />
>                                         <jvmarg value="-XX:PermSize=512m"
> />
>                                         <jvmarg value="-Xmx1024m" />
>                                         <arg line="start" />
>                                 </java>
>
>
> ============ error on running apache tome 1.5 using above
> =====================================
>   [echo] starting tomcat using java home: 1.7
>      [java] Listening for transport dt_socket at address: 8000
>      [java] pa� 05, 2012 12:10:53 PM
> org.apache.catalina.core.AprLifecycleListener init
>      [java] INFO: The APR based Apache Tomcat Native library which allows
> optimal performance in production environments was not found on the
> java.library.path: C:\Program
>
> Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\program
> files (x86)\graphicsmagick-1.3.16-q8;c:\program files
> (x86)\graphicsmagick-1.3.16-q16;C:\Program Files (x86)\NVIDIA
>
> Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
> Files\MySQL\MySQL Server 5.5\bin;C:\Program Files
> (x86)\QuickTime\QTSystem\;.
>      [java] pa� 05, 2012 12:10:54 PM org.apache.coyote.AbstractProtocol
> init
>      [java] INFO: Initializing ProtocolHandler ["http-bio-8080"]
>      [java] pa� 05, 2012 12:10:54 PM org.apache.coyote.AbstractProtocol
> init
>      [java] INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
>      [java] pa� 05, 2012 12:10:54 PM org.apache.openejb.util.OptionsLog
> info
>      [java] INFO: Using
>
> 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
>      [java] pa� 05, 2012 12:10:55 PM org.apache.tomee.catalina.TomcatLoader
> optionalService
>      [java] INFO: Optional service not installed:
> org.apache.tomee.webservices.TomeeJaxRsService
>      [java] pa� 05, 2012 12:10:55 PM org.apache.tomee.catalina.TomcatLoader
> optionalService
>      [java] INFO: Optional service not installed:
> org.apache.tomee.webservices.TomeeJaxWsService
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] INFO:
>
> ********************************************************************************
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] INFO: OpenEJB http://openejb.apache.org/
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] INFO: Startup: Fri Oct 05 12:10:55 CEST 2012
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All
> Rights
> Reserved.
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] INFO: Version: 4.5.0
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] INFO: Build date: 20120928
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] INFO: Build time: 08:12
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] INFO:
>
> ********************************************************************************
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] INFO: openejb.home = C:\brex\apache-tomee-webprofile-1.5.0
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] INFO: openejb.base = C:\brex\apache-tomee-webprofile-1.5.0
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.cdi.CdiBuilder
> initializeOWB
>      [java] INFO: Created new singletonService
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5a6883b7
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.cdi.CdiBuilder
> initializeOWB
>      [java] INFO: Succeeded in installing singleton service
>      [java] java.lang.NoClassDefFoundError:
> org/apache/geronimo/connector/work/GeronimoWorkManager
>      [java]     at java.lang.Class.getDeclaredConstructors0(Native Method)
>      [java]     at java.lang.Class.privateGetDeclaredConstructors(Unknown
> Source)
>      [java]     at java.lang.Class.getConstructor0(Unknown Source)
>      [java]     at java.lang.Class.newInstance0(Unknown Source)
>      [java]     at java.lang.Class.newInstance(Unknown Source)
>      [java]     at
> org.apache.openejb.util.SafeToolkit.newInstance(SafeToolkit.java:54)
>      [java]     at
> org.apache.openejb.util.SafeToolkit.newInstance(SafeToolkit.java:48)
>      [java]     at
> org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:122)
>      [java]     at org.apache.openejb.OpenEJB.init(OpenEJB.java:290)
>      [java]     at
> org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:231)
>      [java]     at
> org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:131)
>      [java]     at
>
> org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:113)
>      [java]     at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>      [java]     at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>      [java]     at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
>      [java]     at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
>      [java]     at
> org.apache.catalina.startup.Catalina.load(Catalina.java:633)
>      [java]     at
> org.apache.catalina.startup.Catalina.load(Catalina.java:658)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>      [java]     at java.lang.reflect.Method.invoke(Unknown Source)
>      [java]     at
> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
>      [java]     at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
>      [java] Caused by: java.lang.ClassNotFoundException:
> org.apache.geronimo.connector.work.GeronimoWorkManager
>      [java]     at java.net.URLClassLoader$1.run(Unknown Source)
>      [java]     at java.net.URLClassLoader$1.run(Unknown Source)
>      [java]     at java.security.AccessController.doPrivileged(Native
> Method)
>      [java]     at java.net.URLClassLoader.findClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
>      [java]     ... 24 more
>      [java] pa� 05, 2012 12:10:55 PM org.apache.openejb.OpenEJB$Instance
> <init>
>      [java] SEVERE: OpenEJB has encountered a fatal error and cannot be
> started: Assembler cannot be instantiated.
>      [java] org.apache.openejb.OpenEJBException: The OpenEJB cannot
> instantiate the class org.apache.openejb.assembler.classic.Assembler loaded
> from codebase
>
> file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/bval-core-0.5.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/bval-jsr303-0.5.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/catalina-ant.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/catalina-ha.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/catalina-tribes.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/catalina.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-beanutils-core-1.8.3.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-cli-1.2.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-codec-1.4.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-collections-3.2.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-dbcp-1.4.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-digester-1.8.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-lang-2.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-lang3-3.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-logging-1.1.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-pool-1.5.7.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/ecj-3.7.2.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/geronimo-javamail_1.4_mail-1.8.2.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/geronimo-transaction-3.1.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/gson-2.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/howl-1.0.1-1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/hsqldb-2.2.8.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/jansi-1.8.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/jasper-el.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/jasper.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/javaee-api-6.0-4-tomcat.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/javassist-3.15.0-GA.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/jsp-api.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/mbean-annotation-api-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/myfaces-api-2.1.9.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/myfaces-impl-2.1.9.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-api-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-client-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-core-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-ejbd-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-hsql-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-http-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-javaagent.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-jee-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-jpa-integration-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-jstl-1.2.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-loader-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-server-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openjpa-asm-shaded-2.2.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-ee-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-ee-common-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-ejb-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-impl-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-jsf-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-spi-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-web-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/postgresql-9.1-902.jdbc4.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/quartz-2.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/serp-1.13.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/servlet-api.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/slf4j-api-1.6.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/slf4j-jdk14-1.6.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/swizzle-stream-1.6.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-api.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-coyote.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-dbcp.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-i18n-es.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-i18n-fr.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-i18n-ja.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-jdbc.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-util.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-catalina-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-common-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-jdbc-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-loader-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-mojarra-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-myfaces-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-webapp-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/wsdl4j-1.6.2.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/xbean-asm-shaded-3.11.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/xbean-bundleutils-3.11.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/xbean-finder-shaded-3.11.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/xbean-naming-3.11.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/xbean-reflect-3.11.jar:
> Received exception java.lang.NoClassDefFoundError:
> org/apache/geronimo/connector/work/GeronimoWorkManager
>      [java]     at
>
> org.apache.openejb.util.OpenEJBErrorHandler.classNotIntantiateableFromCodebaseForUnknownReason(OpenEJBErrorHandler.java:92)
>      [java]     at
> org.apache.openejb.util.SafeToolkit.newInstance(SafeToolkit.java:65)
>      [java]     at
> org.apache.openejb.util.SafeToolkit.newInstance(SafeToolkit.java:48)
>      [java]     at
> org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:122)
>      [java]     at org.apache.openejb.OpenEJB.init(OpenEJB.java:290)
>      [java]     at
> org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:231)
>      [java]     at
> org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:131)
>      [java]     at
>
> org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:113)
>      [java]     at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>      [java]     at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>      [java]     at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
>      [java]     at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
>      [java]     at
> org.apache.catalina.startup.Catalina.load(Catalina.java:633)
>      [java]     at
> org.apache.catalina.startup.Catalina.load(Catalina.java:658)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>      [java]     at java.lang.reflect.Method.invoke(Unknown Source)
>      [java]     at
> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
>      [java]     at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
>      [java] pa� 05, 2012 12:10:55 PM
> org.apache.tomee.catalina.ServerListener lifecycleEvent
>      [java] SEVERE: TomEE Listener can't start OpenEJB
>      [java] org.apache.openejb.OpenEJBException: The OpenEJB cannot
> instantiate the class org.apache.openejb.assembler.classic.Assembler loaded
> from codebase
>
> file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/bval-core-0.5.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/bval-jsr303-0.5.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/catalina-ant.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/catalina-ha.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/catalina-tribes.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/catalina.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-beanutils-core-1.8.3.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-cli-1.2.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-codec-1.4.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-collections-3.2.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-dbcp-1.4.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-digester-1.8.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-lang-2.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-lang3-3.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-logging-1.1.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/commons-pool-1.5.7.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/ecj-3.7.2.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/geronimo-javamail_1.4_mail-1.8.2.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/geronimo-transaction-3.1.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/gson-2.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/howl-1.0.1-1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/hsqldb-2.2.8.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/jansi-1.8.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/jasper-el.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/jasper.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/javaee-api-6.0-4-tomcat.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/javassist-3.15.0-GA.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/jsp-api.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/mbean-annotation-api-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/myfaces-api-2.1.9.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/myfaces-impl-2.1.9.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-api-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-client-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-core-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-ejbd-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-hsql-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-http-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-javaagent.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-jee-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-jpa-integration-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-jstl-1.2.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-loader-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openejb-server-4.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openjpa-asm-shaded-2.2.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-ee-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-ee-common-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-ejb-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-impl-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-jsf-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-spi-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/openwebbeans-web-1.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/postgresql-9.1-902.jdbc4.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/quartz-2.1.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/serp-1.13.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/servlet-api.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/slf4j-api-1.6.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/slf4j-jdk14-1.6.6.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/swizzle-stream-1.6.1.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-api.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-coyote.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-dbcp.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-i18n-es.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-i18n-fr.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-i18n-ja.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-jdbc.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomcat-util.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-catalina-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-common-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-jdbc-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-loader-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-mojarra-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-myfaces-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/tomee-webapp-1.5.0.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/wsdl4j-1.6.2.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/xbean-asm-shaded-3.11.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/xbean-bundleutils-3.11.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/xbean-finder-shaded-3.11.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/xbean-naming-3.11.jar;file:/C:/brex/apache-tomee-webprofile-1.5.0/lib/xbean-reflect-3.11.jar:
> Received exception java.lang.NoClassDefFoundError:
> org/apache/geronimo/connector/work/GeronimoWorkManager
>      [java]     at
>
> org.apache.openejb.util.OpenEJBErrorHandler.classNotIntantiateableFromCodebaseForUnknownReason(OpenEJBErrorHandler.java:92)
>      [java]     at
> org.apache.openejb.util.SafeToolkit.newInstance(SafeToolkit.java:65)
>      [java]     at
> org.apache.openejb.util.SafeToolkit.newInstance(SafeToolkit.java:48)
>      [java]     at
> org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:122)
>      [java]     at org.apache.openejb.OpenEJB.init(OpenEJB.java:290)
>      [java]     at
> org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:231)
>      [java]     at
> org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:131)
>      [java]     at
>
> org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:113)
>      [java]     at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>      [java]     at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>      [java]     at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
>      [java]     at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
>      [java]     at
> org.apache.catalina.startup.Catalina.load(Catalina.java:633)
>      [java]     at
> org.apache.catalina.startup.Catalina.load(Catalina.java:658)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>      [java]     at java.lang.reflect.Method.invoke(Unknown Source)
>      [java]     at
> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
>      [java]     at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.startup.Catalina
> load
>      [java] INFO: Initialization processed in 2023 ms
>      [java] pa� 05, 2012 12:10:55 PM
> org.apache.catalina.core.StandardService startInternal
>      [java] INFO: Starting service Catalina
>      [java] pa� 05, 2012 12:10:55 PM
> org.apache.catalina.core.StandardEngine
> startInternal
>      [java] INFO: Starting Servlet Engine: Apache Tomcat/7.0.30
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.startup.HostConfig
> deployDirectory
>      [java] INFO: Deploying web application directory
> C:\brex\apache-tomee-webprofile-1.5.0\webapps\docs
>      [java] pa� 05, 2012 12:10:55 PM
> org.apache.tomee.catalina.TomcatWebAppBuilder init
>      [java] INFO: -------------------------
>      [java] TomcatWebAppBuilder.init /docs
>      [java] pa� 05, 2012 12:10:55 PM
> org.apache.tomee.catalina.TomcatWebAppBuilder startInternal
>      [java] WARNING: OpenEJB has not been initialized so war will not be
> scanned for nested modules /docs
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.core.ContainerBase
> addChildInternal
>      [java] SEVERE: ContainerBase.addChild: start:
>      [java] org.apache.catalina.LifecycleException: Failed to start
> component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]
>      [java]     at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>      [java]     at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>      [java]     at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>      [java]     at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
>      [java]     at
> java.util.concurrent.Executors$RunnableAdapter.call(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask.run(Unknown Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
>      [java]     at java.lang.Thread.run(Unknown Source)
>      [java] Caused by: java.lang.NullPointerException
>      [java]     at
>
> org.apache.tomee.catalina.TomcatJndiBuilder.mergeJava(TomcatJndiBuilder.java:197)
>      [java]     at
>
> org.apache.tomee.catalina.TomcatJavaJndiBinder.lifecycleEvent(TomcatJavaJndiBinder.java:30)
>      [java]     at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>      [java]     at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>      [java]     at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
>      [java]     at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>      [java]     ... 11 more
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.startup.HostConfig
> deployDirectory
>      [java] SEVERE: Error deploying web application directory
> C:\brex\apache-tomee-webprofile-1.5.0\webapps\docs
>      [java] java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]
>      [java]     at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
>      [java]     at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>      [java]     at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
>      [java]     at
> java.util.concurrent.Executors$RunnableAdapter.call(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask.run(Unknown Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
>      [java]     at java.lang.Thread.run(Unknown Source)
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.startup.HostConfig
> deployDirectory
>      [java] INFO: Deploying web application directory
> C:\brex\apache-tomee-webprofile-1.5.0\webapps\host-manager
>      [java] pa� 05, 2012 12:10:55 PM
> org.apache.tomee.catalina.TomcatWebAppBuilder init
>      [java] INFO: -------------------------
>      [java] TomcatWebAppBuilder.init /host-manager
>      [java] pa� 05, 2012 12:10:55 PM
> org.apache.tomee.catalina.TomcatWebAppBuilder startInternal
>      [java] WARNING: OpenEJB has not been initialized so war will not be
> scanned for nested modules /host-manager
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.core.ContainerBase
> addChildInternal
>      [java] SEVERE: ContainerBase.addChild: start:
>      [java] org.apache.catalina.LifecycleException: Failed to start
> component
>
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/host-manager]]
>      [java]     at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>      [java]     at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>      [java]     at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>      [java]     at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
>      [java]     at
> java.util.concurrent.Executors$RunnableAdapter.call(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask.run(Unknown Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
>      [java]     at java.lang.Thread.run(Unknown Source)
>      [java] Caused by: java.lang.NullPointerException
>      [java]     at
>
> org.apache.tomee.catalina.TomcatJndiBuilder.mergeJava(TomcatJndiBuilder.java:197)
>      [java]     at
>
> org.apache.tomee.catalina.TomcatJavaJndiBinder.lifecycleEvent(TomcatJavaJndiBinder.java:30)
>      [java]     at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>      [java]     at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>      [java]     at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
>      [java]     at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>      [java]     ... 11 more
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.startup.HostConfig
> deployDirectory
>      [java] SEVERE: Error deploying web application directory
> C:\brex\apache-tomee-webprofile-1.5.0\webapps\host-manager
>      [java] java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
>
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/host-manager]]
>      [java]     at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
>      [java]     at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>      [java]     at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
>      [java]     at
> java.util.concurrent.Executors$RunnableAdapter.call(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask.run(Unknown Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
>      [java]     at java.lang.Thread.run(Unknown Source)
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.startup.HostConfig
> deployDirectory
>      [java] INFO: Deploying web application directory
> C:\brex\apache-tomee-webprofile-1.5.0\webapps\manager
>      [java] pa� 05, 2012 12:10:55 PM
> org.apache.tomee.catalina.TomcatWebAppBuilder init
>      [java] INFO: -------------------------
>      [java] TomcatWebAppBuilder.init /manager
>      [java] pa� 05, 2012 12:10:55 PM
> org.apache.tomee.catalina.TomcatWebAppBuilder startInternal
>      [java] WARNING: OpenEJB has not been initialized so war will not be
> scanned for nested modules /manager
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.core.ContainerBase
> addChildInternal
>      [java] SEVERE: ContainerBase.addChild: start:
>      [java] org.apache.catalina.LifecycleException: Failed to start
> component
>
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/manager]]
>      [java]     at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>      [java]     at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>      [java]     at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>      [java]     at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
>      [java]     at
> java.util.concurrent.Executors$RunnableAdapter.call(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask.run(Unknown Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
>      [java]     at java.lang.Thread.run(Unknown Source)
>      [java] Caused by: java.lang.NullPointerException
>      [java]     at
>
> org.apache.tomee.catalina.TomcatJndiBuilder.mergeJava(TomcatJndiBuilder.java:197)
>      [java]     at
>
> org.apache.tomee.catalina.TomcatJavaJndiBinder.lifecycleEvent(TomcatJavaJndiBinder.java:30)
>      [java]     at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>      [java]     at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>      [java]     at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
>      [java]     at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>      [java]     ... 11 more
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.startup.HostConfig
> deployDirectory
>      [java] SEVERE: Error deploying web application directory
> C:\brex\apache-tomee-webprofile-1.5.0\webapps\manager
>      [java] java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
>
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/manager]]
>      [java]     at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
>      [java]     at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>      [java]     at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
>      [java]     at
>
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
>      [java]     at
> java.util.concurrent.Executors$RunnableAdapter.call(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
> Source)
>      [java]     at java.util.concurrent.FutureTask.run(Unknown Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source)
>      [java]     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
>      [java]     at java.lang.Thread.run(Unknown Source)
>      [java] pa� 05, 2012 12:10:55 PM org.apache.catalina.startup.HostConfig
> deployDirectory
>      [java] INFO: Deploying web application directory
> C:\brex\apache-tomee-webprofile-1.5.0\webapps\ROOT
>      [java] pa� 05, 2012 12:10:55 PM
> org.apache.tomee.catalina.TomcatWebAppBuilder init
>      [java] INFO: -------------------------
>      [java] TomcatWebAppBuilder.init
>
>
> ========================================================================================================
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/apache-tomee-1-5-run-in-blocking-mode-tp4657794.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message