tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From INGRASSIA MIRKO <mirko.ingras...@esterni.infogroup.it>
Subject Fatal error using TomEE embedded
Date Mon, 23 Jan 2017 09:33:37 GMT
Hello,

Using this Maven dependency

        <dependency>
            <groupId>org.apache.tomee</groupId>
            <artifactId>arquillian-tomee-embedded</artifactId>
            <version>7.0.2</version>
            <scope>test</scope>
        </dependency>

I get the following error

SEVERE: FATAL ERROR: Unknown error in Assembler.  Please send the following stack trace and
this message to users@tomee.apache.org :
org.apache.xbean.recipe.MissingFactoryMethodException: Constructor has 0 arugments but expected
7 arguments: public org.apache.openejb.resource.jdbc.DataSourceFactory()
                at org.apache.xbean.recipe.ReflectionUtil.findConstructor(ReflectionUtil.java:622)
                at org.apache.xbean.recipe.ObjectRecipe.findFactory(ObjectRecipe.java:563)
                at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:274)
                at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
                at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
                at org.apache.openejb.assembler.classic.Assembler.doCreateResource(Assembler.java:2969)
                at org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:2802)
                at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:574)
                at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:483)
                at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:150)
                at org.apache.openejb.OpenEJB.init(OpenEJB.java:307)
                at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:247)
                at org.apache.tomee.embedded.Container.start(Container.java:741)
                at org.apache.openejb.arquillian.embedded.EmbeddedTomEEContainer.start(EmbeddedTomEEContainer.java:135)
                at org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:199)
                at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:163)
                at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:157)
                at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255)
                at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:156)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
                at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
                at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
                at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
                at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
                at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
                at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
                at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
                at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:77)
                at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:70)
                at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forEachSuiteContainer(ContainerLifecycleController.java:221)
                at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startSuiteContainers(ContainerLifecycleController.java:69)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
                at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
                at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
                at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
                at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
                at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
                at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:86)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
                at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
                at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
                at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
                at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
                at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
                at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
                at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:75)
                at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115)
                at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
                at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
                at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
                at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

Could you please advise what it's missing?


Thank you,

Mirko Ingrassia


Prima di stampare, pensa all'ambiente ** Think about the environment before printing

________________________________

Il presente messaggio, inclusi gli eventuali allegati, ha natura aziendale e potrebbe contenere
informazioni confidenziali e/o riservate. Chiunque lo ricevesse per errore, ? pregato di avvisare
tempestivamente il mittente e di cancellarlo.
E' strettamente vietata qualsiasi forma di utilizzo, riproduzione o diffusione non autorizzata
del contenuto di questo messaggio o di parte di esso.
Pur essendo state assunte le dovute precauzioni per ridurre al minimo il rischio di trasmissione
di virus, si suggerisce di effettuare gli opportuni controlli sui documenti allegati al presente
messaggio. Non si assume alcuna responsabilit? per eventuali danni o perdite derivanti dalla
presenza di virus.

Per lo svolgimento delle attivit? di investimento nel Regno Unito, la societ? ? autorizzata
da Banca d'Italia ed ? soggetta alla vigilanza limitata della Financial Conduct Authority
( FCA ) e della Prudential Regulation Authority ( PRA ) . Maggiori informazioni in merito
ai poteri di vigilanza della Financial Conduct Authority ( FCA ) e della Prudential Regulation
Authority ( PRA ) sono a disposizione previa richiesta.

Nel Regno Unito Intesa Sanpaolo S.p.A. opera attraverso la filiale di Londra, sita in 90 Queen
Street, London EC4N 1SA, registrata in Inghilterra & Galles sotto No.FC016201, Branch
No.BR000036

In osservanza dei requisito imposti dal Internal Revenue Service (Agenzia delle Entrate degli
Stati Uniti), qualunque discussione relativa a temi di natura fiscale contenuta in questo
messaggio o nei suoi allegati non e' intesa ne' e' stata scritta per essere utilizzata, ne'
puo' essere utilizata per (i) evitare l'imposizione di gravami fiscali secondo il codice tributario
vigente negli Stati Uniti o (ii) per promuovere, sollecitare o raccomandare una operazione
finanziaria o altra transazione indirizzata ad un altro destinatario.

Nella Repubblica d'Irlanda, Intesa Sanpaolo Bank Ireland plc ? regolamentata dalla Banca Centrale
d'Irlanda ed ? parte del Gruppo Bancario Intesa Sanpaolo S.p.A. Registrata in Irlanda come
societ? numero 125216 - IVA Reg. IE4817418C IE, sita in, KBC House, 4 George Dock, IFSC, Dublino
1, Irlanda.

***

________________________________

This email (including any attachment) is a corporate message and may contain confidential
and/or privileged and/or proprietary information. If you have received this email in error,
please notify the sender immediately, do not use or share it and destroy this email. Any unauthorised
use, copying or disclosure of the material in this email or of parts hereof (including reliance
thereon) is strictly forbidden.
We have taken precautions to minimize the risk of transmitting software viruses but nevertheless
advise you to carry out your own virus checks on any attachment of this message. We accept
no liability for loss or damage caused by software viruses.

For the conduct of investment business in the UK, the Company is authorised by Banca d'Italia
and subject to limited regulation in the UK by the Financial Conduct Authority ( FCA ) and
the Prudential Regulation Authority ( PRA ). Details about the extent of our regulation by
the Financial Conduct Authority ( FCA ) and the Prudential Regulation Authority ( PRA ) are
available from us on request.

In the UK Intesa Sanpaolo S.p.A. operates through its London Branch, located at 90 Queen Street,
London EC4N 1SA. Registered in England & Wales under No.FC016201, Branch No.BR000036

To comply with requirements imposed by the IRS, we inform you that any discussion of U.S.
federal tax issues contained herein (including any attachments) was not intended or written
to be used, and cannot be used by you, for the purpose of (i) avoiding penalties under the
Internal Revenue Code or (ii) promoting, marketing or recommending any transaction or matter
addressed herein to another party.

In the Republic of Ireland, Intesa Sanpaolo Bank Ireland plc is regulated by the Central Bank
of Ireland and is a member of the Intesa Sanpaolo Group. It is registered in Ireland as company
no.125216 - VAT Reg. No. IE 4817418C and located at, 3rd Floor, KBC House, 4 George's Dock,
IFSC, Dublin 1, Ireland.

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