just tried using scan.xml but i get:
29-Oct-2018 16:15:16.495 SEVERE [localhost-startStop-1]
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication CDI Beans
module deployment failed
org.apache.webbeans.exception.WebBeansDeploymentException:
javax.enterprise.inject.UnsatisfiedResolutionException: Api type
[org.apache.deltaspike.core.spi.future.FutureableStrategy] is not found
with the qualifiers
Qualifiers: [@javax.enterprise.inject.Default()]
for injection into Field Injection Point, field name :
futureableStrategy, Bean Owner : [FutureableInterceptor,
WebBeansType:INTERCEPTOR, Name:null, API
Types:[org.apache.deltaspike.core.impl.future.FutureableInterceptor,java.lang.Object,java.io.Serializable],
Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]]
at
org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:338)
at
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:196)
at
org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:189)
at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:41)
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:963)
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:757)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1303)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1125)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
am i supposed to scan deltaspike library?
On 29/10/2018 15:02, Romain Manni-Bucau wrote:
Hello,
it depends the scanning coverage for your app, normally you can tune it
using scan.xml (in WEB-INF) to only scan the EE classes (CDI/EJB) and not
all others which will reduce it at the minimum.
See http://tomee.apache.org/refcard/refcard.html for more details
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Le lun. 29 oct. 2018 à 14:53, cedr29 <[email protected]> a écrit :
Hi,
I would like to know if increase of heap memory is normal just after
booting
tomee.
I ran GC and analysed hprof in "Memory Analyser"
It tells me that I have :
- 17,3Mo of "org.apache.bval.cdi.BValExtension".
Next ones are
-"java.net.URLClassLoader" with 5.1Mo
- TomEEWebappClassLoader with 5Mo
webbeans.container.BeanManagerImpl with 3.7Mo
Those values are coherent?
By default I have 192Mo max for Heap size.
I expose more and more REST APIs et SOAP WS and i d like to know if its
normal heap size takes 150Mo just after boot.
Thank You
--
Sent from:
http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html