You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Mathias Verbeke <ma...@gmail.com> on 2013/09/16 14:54:55 UTC
TomEE installation errors
Dear all,
I am trying to install TomEE inside an existing Tomcat6 environment using
the drop-in war, following the procedure as outlined on
http://tomee.apache.org/installation-drop-in-war.html
However, I get a
---
Connection exception
The application is waiting for the server.
---
when going to the specified address after deployment, and the following
errors in the Tomcat logs:
OpenEJB Loader init-params:
There are no initialization parameters.
java.lang.reflect.InvocationTargetException
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:616)
at
org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:100)
at org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:66)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at
org.apache.catalina.core.StandardService.start(StandardService.java:525)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.NoClassDefFoundError: org/apache/tomcat/InstanceManager
at
org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:209)
at
org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
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:616)
at org.apache.openejb.loader.Embedder.init(Embedder.java:77)
at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:173)
... 32 more
Caused by: java.lang.ClassNotFoundException:
org.apache.tomcat.InstanceManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 40 more
Would anyone have any idea what I'm doing wrong here?
Thanks,
Mathias
Re: TomEE installation errors
Posted by Romain Manni-Bucau <rm...@gmail.com>.
twice?
normally just on http connector
*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*
2013/9/30 mathiver <ma...@gmail.com>
> AFAIK, only for Tomcat. Is it sufficient to change 8080 twice in server.xml
> in order to do that, or does this need to be changed in other places as
> well?
>
> Thanks,
>
> Mathias
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665368.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
AFAIK, only for Tomcat. Is it sufficient to change 8080 twice in server.xml
in order to do that, or does this need to be changed in other places as
well?
Thanks,
Mathias
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665368.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Romain Manni-Bucau <rm...@gmail.com>.
isnt your computer using 8080 for something else? if so just use another
port for tomee
*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*
2013/9/30 mathiver <ma...@gmail.com>
> Hi Thiago,
>
> There still seems to be an address problem:
>
> SEVERE: Failed to initialize end point associated with ProtocolHandler
> ["http-bio-8080"]
> java.net.BindException: Address already in use <null>:8080
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665365.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Hi Thiago,
There still seems to be an address problem:
SEVERE: Failed to initialize end point associated with ProtocolHandler
["http-bio-8080"]
java.net.BindException: Address already in use <null>:8080
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665365.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Thiago Veronezi <th...@veronezi.org>.
Hi Mathias,
Yep.
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/tomee-webapp/1.6.0-SNAPSHOT/tomee-webapp-1.6.0-20130930.100350-192.war<https://repository.apache.org/content/groups/snapshots/org/apache/openejb/tomee-plus-webapp/1.6.0-SNAPSHOT/?_uyi=9897979787987>
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/tomee-plus-webapp/1.6.0-SNAPSHOT/tomee-plus-webapp-1.6.0-20130930.100404-192.war
[]s,
Thiago.
On Mon, Sep 30, 2013 at 3:30 AM, mathiver <ma...@gmail.com> wrote:
> Hi Thiago,
>
> I was wondering if the TomEE version without websockets would be available
> already?
>
> Thanks,
>
> Mathias
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665360.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Hi Thiago,
I was wondering if the TomEE version without websockets would be available
already?
Thanks,
Mathias
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665360.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Hi Thiago,
Ah, great, then I'll wait for that new version and then try that one
immediately. Thanks for pinging me when it's ready!
Mathias
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665221.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Thiago Veronezi <th...@veronezi.org>.
Hi Mathias,
8080 is the default for Tomcat, therefore also for TomEE. If you do nothing
TomEE will run on that port. It seems that there is an Apache httpd in
between TomEE and the user. It would probably mess the request process
making tomcat complain about it. I would suggest to change the firewall
rules a bit and open the port 8080 too, so you can access the webapp.
[]s,
Thiago.
Ps.: I'm working on a new version of the webapp that does not use
websockets (cute but not necessary for our app). It should be ready this
week. I will ping you once I have it done.
On Mon, Sep 23, 2013 at 4:20 AM, mathiver <ma...@gmail.com> wrote:
> Hi Thiago,
>
> Thanks for verifying this. How can I do this in practice (i.e. how do I map
> TomEE to port 8080)?
>
> Thanks,
>
> Mathias
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665219.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Hi Thiago,
Thanks for verifying this. How can I do this in practice (i.e. how do I map
TomEE to port 8080)?
Thanks,
Mathias
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665219.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Thiago Veronezi <th...@veronezi.org>.
I think there is a firewall configuration somewhere that is crashing the
application.
I've managed to reproduce your issue in an amazon ec2 box (
https://dl.dropboxusercontent.com/u/1459144/tomee-list/tomee-remote-00.png).
Currently the GUI uses websockets. Regular http connections and websockets
share the same port 80. It turns out that the javascript code can't connect
to the server, and it logs an exception stating it (
https://dl.dropboxusercontent.com/u/1459144/tomee-list/tomee-remote-01.png)
The Tomee server above is mapped to both 80 (via Apache httpd) and 8080
(Direct access). As soon as I try the port 8080 instead, it gets back to
normal. (
https://dl.dropboxusercontent.com/u/1459144/tomee-list/tomee-remote-02.png)
Can you check if that works for you too?
Error code 400 (Bad request)
http://www.checkupdown.com/status/E400.html
[]s,
Thiago.
On Tue, Sep 17, 2013 at 12:04 PM, Thiago Veronezi <th...@veronezi.org>wrote:
> I guess it is a real bug.
> I will verify it.
>
>
>
> On Tue, Sep 17, 2013 at 11:56 AM, mathiver <ma...@gmail.com> wrote:
>
>> Still the same problem with the snapshot version: no errors in the log,
>> but a
>> "connection exception" when I go to the URL in the browser... More ideas?
>>
>>
>>
>> --
>> View this message in context:
>> http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665104.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>
>
Re: TomEE installation errors
Posted by Thiago Veronezi <th...@veronezi.org>.
I guess it is a real bug.
I will verify it.
On Tue, Sep 17, 2013 at 11:56 AM, mathiver <ma...@gmail.com> wrote:
> Still the same problem with the snapshot version: no errors in the log,
> but a
> "connection exception" when I go to the URL in the browser... More ideas?
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665104.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Still the same problem with the snapshot version: no errors in the log, but a
"connection exception" when I go to the URL in the browser... More ideas?
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665104.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Romain Manni-Bucau <rm...@gmail.com>.
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/tomee-webapp/1.6.0-SNAPSHOT/
for the web profile version and
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/tomee-plus-webapp/1.6.0-SNAPSHOT/
for the plus version
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2013/9/17 mathiver <ma...@gmail.com>:
> Hi Thiago,
>
> Where can I find a snapshot version of the drop-in war?
>
> Thanks,
>
> Mathias
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665102.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Hi Thiago,
Where can I find a snapshot version of the drop-in war?
Thanks,
Mathias
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665102.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Thiago Veronezi <th...@veronezi.org>.
I've checked with trunk and it seems to work.
As Romain said, it looks like it was broken for locations other than
"localhost". Can you test it with the trunk version just to check if it
works now?
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.6.0-SNAPSHOT/
[]s,
Thiago.
On Tue, Sep 17, 2013 at 9:28 AM, mathiver <ma...@gmail.com> wrote:
> Hi,
>
> I cannot use it from localhost, since I don't have direct GUI access to the
> server, so I'm going to
>
> www.servername.com/tomee
>
> (where www.servername.com is the server address).
>
> I'm using Firefox as browser on Linux.
>
> Best,
>
> Mathias
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665098.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Hi,
I cannot use it from localhost, since I don't have direct GUI access to the
server, so I'm going to
www.servername.com/tomee
(where www.servername.com is the server address).
I'm using Firefox as browser on Linux.
Best,
Mathias
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665098.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Thiago Veronezi <th...@veronezi.org>.
Can you check the browser console and see you you have any logged exception
there?
Whats you browser?
[]s,
Thiago.
On Tue, Sep 17, 2013 at 8:09 AM, Romain Manni-Bucau
<rm...@gmail.com>wrote:
> Hi
>
> if you speak about the tomee gui it was broken if not used from
> localhost i think.
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2013/9/17 mathiver <ma...@gmail.com>:
> > Hi,
> >
> > Ok, so now I don't get any errors in the logs anymore, but the screen
> still
> > says "Connection exception - The application is waiting for the server."
> >
> > Any ideas what could still be wrong?
> >
> > Thanks,
> >
> > Mathias
> >
> >
> >
> > --
> > View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665095.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: TomEE installation errors
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
if you speak about the tomee gui it was broken if not used from
localhost i think.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2013/9/17 mathiver <ma...@gmail.com>:
> Hi,
>
> Ok, so now I don't get any errors in the logs anymore, but the screen still
> says "Connection exception - The application is waiting for the server."
>
> Any ideas what could still be wrong?
>
> Thanks,
>
> Mathias
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665095.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Hi,
Ok, so now I don't get any errors in the logs anymore, but the screen still
says "Connection exception - The application is waiting for the server."
Any ideas what could still be wrong?
Thanks,
Mathias
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665095.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
it is in tomcat itself, if not you use a too old tomcat version i think.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2013/9/17 mathiver <ma...@gmail.com>:
> Hi Romain,
>
> And how do I need to install that (since that dependency isn't on the TomEE
> drop-in war install page)? Is that also a war that need to be placed
> somewhere?
>
> Thanks,
>
> Mathias
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665093.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Hi Romain,
And how do I need to install that (since that dependency isn't on the TomEE
drop-in war install page)? Is that also a war that need to be placed
somewhere?
Thanks,
Mathias
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665093.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
means you don't have tomcat-jdbc or it is in your app too.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2013/9/17 mathiver <ma...@gmail.com>:
> Hi all,
>
> I deployed it on a Tomcat 7 instance, but now I get the following error. Any
> idea what could be wrong here?
>
> Sep 17, 2013 11:19:32 AM org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=My DataSource)
> Sep 17, 2013 11:19:32 AM org.apache.openejb.util.OpenEJBErrorHandler
> handleUnknownError
> SEVERE: FATAL ERROR: Unknown error in Assembler. Please send the following
> stack trace and this message to users@openejb.apache.org :
> org.apache.xbean.recipe.ConstructionException: Error invoking factory
> method: public static javax.sql.DataSource
> org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
> throws
> java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
> at
> org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:1006)
> at
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49)
> at
> org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:1797)
> at
> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:434)
> at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:353)
> at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:147)
> at org.apache.openejb.OpenEJB.init(OpenEJB.java:292)
> at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233)
> at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
> 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:616)
> at org.apache.openejb.loader.Embedder.init(Embedder.java:77)
> at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:173)
> 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:616)
> at org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:100)
> at org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:66)
> at
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
> at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:679)
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/tomcat/jdbc/pool/PoolProperties
> at
> org.apache.tomee.jdbc.TomEEDataSourceCreator.pool(TomEEDataSourceCreator.java:80)
> at
> org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator.poolManaged(PoolDataSourceCreator.java:64)
> at
> org.apache.openejb.resource.jdbc.DataSourceFactory.create(DataSourceFactory.java:118)
> 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:616)
> at
> org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:996)
> ... 40 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.tomcat.jdbc.pool.PoolProperties
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> ... 48 more
>
> Sep 17, 2013 11:19:32 AM org.apache.openejb.OpenEJB$Instance <init>
> SEVERE: OpenEJB has encountered a fatal error and cannot be started:
> Assembler failed to build the container system.
> org.apache.openejb.OpenEJBException:
> org.apache.xbean.recipe.ConstructionException: Error invoking factory
> method: public static javax.sql.DataSource
> org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
> throws
> java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException:
> Error invoking factory method: public static javax.sql.DataSource
> org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
> throws
> java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
> at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:366)
> at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:147)
> at org.apache.openejb.OpenEJB.init(OpenEJB.java:292)
> at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233)
> at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
> 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:616)
> at org.apache.openejb.loader.Embedder.init(Embedder.java:77)
> at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:173)
> 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:616)
> at org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:100)
> at org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:66)
> at
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
> at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:679)
> Caused by: org.apache.xbean.recipe.ConstructionException: Error invoking
> factory method: public static javax.sql.DataSource
> org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
> throws
> java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
> at
> org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:1006)
> at
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49)
> at
> org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:1797)
> at
> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:434)
> at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:353)
> ... 33 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/tomcat/jdbc/pool/PoolProperties
> at
> org.apache.tomee.jdbc.TomEEDataSourceCreator.pool(TomEEDataSourceCreator.java:80)
> at
> org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator.poolManaged(PoolDataSourceCreator.java:64)
> at
> org.apache.openejb.resource.jdbc.DataSourceFactory.create(DataSourceFactory.java:118)
> 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:616)
> at
> org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:996)
> ... 40 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.tomcat.jdbc.pool.PoolProperties
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> ... 48 more
> org.apache.openejb.OpenEJBException:
> org.apache.xbean.recipe.ConstructionException: Error invoking factory
> method: public static javax.sql.DataSource
> org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
> throws
> java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException:
> Error invoking factory method: public static javax.sql.DataSource
> org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
> throws
> java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
> at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:366)
> at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:147)
> at org.apache.openejb.OpenEJB.init(OpenEJB.java:292)
> at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233)
> at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
> 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:616)
> at org.apache.openejb.loader.Embedder.init(Embedder.java:77)
> at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:173)
> 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:616)
> at org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:100)
> at org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:66)
> at
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
> at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:679)
> Caused by: org.apache.xbean.recipe.ConstructionException: Error invoking
> factory method: public static javax.sql.DataSource
> org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
> throws
> java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
> at
> org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:1006)
> at
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49)
> at
> org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:1797)
> at
> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:434)
> at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:353)
> ... 33 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/tomcat/jdbc/pool/PoolProperties
> at
> org.apache.tomee.jdbc.TomEEDataSourceCreator.pool(TomEEDataSourceCreator.java:80)
> at
> org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator.poolManaged(PoolDataSourceCreator.java:64)
> at
> org.apache.openejb.resource.jdbc.DataSourceFactory.create(DataSourceFactory.java:118)
> 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:616)
> at
> org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:996)
> ... 40 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.tomcat.jdbc.pool.PoolProperties
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> ... 48 more
>
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665091.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Hi all,
I deployed it on a Tomcat 7 instance, but now I get the following error. Any
idea what could be wrong here?
Sep 17, 2013 11:19:32 AM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=My DataSource)
Sep 17, 2013 11:19:32 AM org.apache.openejb.util.OpenEJBErrorHandler
handleUnknownError
SEVERE: FATAL ERROR: Unknown error in Assembler. Please send the following
stack trace and this message to users@openejb.apache.org :
org.apache.xbean.recipe.ConstructionException: Error invoking factory
method: public static javax.sql.DataSource
org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
throws
java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
at
org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:1006)
at
org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49)
at
org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:1797)
at
org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:434)
at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:353)
at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:147)
at org.apache.openejb.OpenEJB.init(OpenEJB.java:292)
at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233)
at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
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:616)
at org.apache.openejb.loader.Embedder.init(Embedder.java:77)
at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:173)
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:616)
at org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:100)
at org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:66)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.NoClassDefFoundError:
org/apache/tomcat/jdbc/pool/PoolProperties
at
org.apache.tomee.jdbc.TomEEDataSourceCreator.pool(TomEEDataSourceCreator.java:80)
at
org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator.poolManaged(PoolDataSourceCreator.java:64)
at
org.apache.openejb.resource.jdbc.DataSourceFactory.create(DataSourceFactory.java:118)
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:616)
at
org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:996)
... 40 more
Caused by: java.lang.ClassNotFoundException:
org.apache.tomcat.jdbc.pool.PoolProperties
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 48 more
Sep 17, 2013 11:19:32 AM org.apache.openejb.OpenEJB$Instance <init>
SEVERE: OpenEJB has encountered a fatal error and cannot be started:
Assembler failed to build the container system.
org.apache.openejb.OpenEJBException:
org.apache.xbean.recipe.ConstructionException: Error invoking factory
method: public static javax.sql.DataSource
org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
throws
java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException:
Error invoking factory method: public static javax.sql.DataSource
org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
throws
java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:366)
at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:147)
at org.apache.openejb.OpenEJB.init(OpenEJB.java:292)
at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233)
at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
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:616)
at org.apache.openejb.loader.Embedder.init(Embedder.java:77)
at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:173)
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:616)
at org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:100)
at org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:66)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.apache.xbean.recipe.ConstructionException: Error invoking
factory method: public static javax.sql.DataSource
org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
throws
java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
at
org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:1006)
at
org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49)
at
org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:1797)
at
org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:434)
at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:353)
... 33 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/tomcat/jdbc/pool/PoolProperties
at
org.apache.tomee.jdbc.TomEEDataSourceCreator.pool(TomEEDataSourceCreator.java:80)
at
org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator.poolManaged(PoolDataSourceCreator.java:64)
at
org.apache.openejb.resource.jdbc.DataSourceFactory.create(DataSourceFactory.java:118)
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:616)
at
org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:996)
... 40 more
Caused by: java.lang.ClassNotFoundException:
org.apache.tomcat.jdbc.pool.PoolProperties
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 48 more
org.apache.openejb.OpenEJBException:
org.apache.xbean.recipe.ConstructionException: Error invoking factory
method: public static javax.sql.DataSource
org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
throws
java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException:
Error invoking factory method: public static javax.sql.DataSource
org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
throws
java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:366)
at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:147)
at org.apache.openejb.OpenEJB.init(OpenEJB.java:292)
at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233)
at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
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:616)
at org.apache.openejb.loader.Embedder.init(Embedder.java:77)
at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:173)
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:616)
at org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:100)
at org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:66)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.apache.xbean.recipe.ConstructionException: Error invoking
factory method: public static javax.sql.DataSource
org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration)
throws
java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
at
org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:1006)
at
org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49)
at
org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:1797)
at
org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:434)
at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:353)
... 33 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/tomcat/jdbc/pool/PoolProperties
at
org.apache.tomee.jdbc.TomEEDataSourceCreator.pool(TomEEDataSourceCreator.java:80)
at
org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator.poolManaged(PoolDataSourceCreator.java:64)
at
org.apache.openejb.resource.jdbc.DataSourceFactory.create(DataSourceFactory.java:118)
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:616)
at
org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:996)
... 40 more
Caused by: java.lang.ClassNotFoundException:
org.apache.tomcat.jdbc.pool.PoolProperties
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 48 more
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665091.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Thiago Veronezi <th...@veronezi.org>.
Hey np!
>>Do you mean that it won't work with Tomcat6, and 7 is needed instead?
Yeap.
http://openejb.979440.n4.nabble.com/TomEE-Plus-the-hard-way-td4658035.html
[]s,
Thiago.
On Mon, Sep 16, 2013 at 9:09 AM, mathiver <ma...@gmail.com> wrote:
> Hi Thiago,
>
> Thanks for the fast response. Do you mean that it won't work with Tomcat6,
> and 7 is needed instead?
>
> Best,
>
> Mathias
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665084.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: TomEE installation errors
Posted by mathiver <ma...@gmail.com>.
Hi Thiago,
Thanks for the fast response. Do you mean that it won't work with Tomcat6,
and 7 is needed instead?
Best,
Mathias
--
View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665084.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: TomEE installation errors
Posted by Thiago Veronezi <th...@veronezi.org>.
Oh... we support Tomcat7.
[]s,
Thiago.
On Mon, Sep 16, 2013 at 8:59 AM, Thiago Veronezi <th...@veronezi.org>wrote:
> Maybe a new issue. I will take a look at it.
> []s,
> Thiago.
>
>
>
> On Mon, Sep 16, 2013 at 8:54 AM, Mathias Verbeke <ma...@gmail.com>wrote:
>
>> Dear all,
>>
>> I am trying to install TomEE inside an existing Tomcat6 environment using
>> the drop-in war, following the procedure as outlined on
>>
>> http://tomee.apache.org/installation-drop-in-war.html
>>
>> However, I get a
>> ---
>> Connection exception
>>
>> The application is waiting for the server.
>>
>> ---
>> when going to the specified address after deployment, and the following
>> errors in the Tomcat logs:
>>
>> OpenEJB Loader init-params:
>> There are no initialization parameters.
>> java.lang.reflect.InvocationTargetException
>> 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:616)
>> at
>> org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:100)
>> at
>> org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:66)
>> at
>>
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
>> at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
>> at
>>
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
>> at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
>> at
>>
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>> at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>> at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>> at
>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
>> at
>> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
>> at
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
>> at
>> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
>> at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>> at
>>
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>> at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
>> at
>> org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>> at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>> at
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>> at
>> org.apache.catalina.core.StandardService.start(StandardService.java:525)
>> at
>> org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>> 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:616)
>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>> Caused by: java.lang.NoClassDefFoundError:
>> org/apache/tomcat/InstanceManager
>> at
>> org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:209)
>> at
>> org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
>> 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:616)
>> at org.apache.openejb.loader.Embedder.init(Embedder.java:77)
>> at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:173)
>> ... 32 more
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.tomcat.InstanceManager
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
>> ... 40 more
>>
>> Would anyone have any idea what I'm doing wrong here?
>>
>> Thanks,
>>
>> Mathias
>>
>
>
Re: TomEE installation errors
Posted by Thiago Veronezi <th...@veronezi.org>.
Maybe a new issue. I will take a look at it.
[]s,
Thiago.
On Mon, Sep 16, 2013 at 8:54 AM, Mathias Verbeke <ma...@gmail.com> wrote:
> Dear all,
>
> I am trying to install TomEE inside an existing Tomcat6 environment using
> the drop-in war, following the procedure as outlined on
>
> http://tomee.apache.org/installation-drop-in-war.html
>
> However, I get a
> ---
> Connection exception
>
> The application is waiting for the server.
>
> ---
> when going to the specified address after deployment, and the following
> errors in the Tomcat logs:
>
> OpenEJB Loader init-params:
> There are no initialization parameters.
> java.lang.reflect.InvocationTargetException
> 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:616)
> at
> org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:100)
> at
> org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:66)
> at
>
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
> at
>
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
> at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
> at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
> at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
> at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
> at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
> at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
> at
> org.apache.catalina.core.StandardService.start(StandardService.java:525)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
> 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:616)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/tomcat/InstanceManager
> at
> org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:209)
> at
> org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
> 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:616)
> at org.apache.openejb.loader.Embedder.init(Embedder.java:77)
> at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:173)
> ... 32 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.tomcat.InstanceManager
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> ... 40 more
>
> Would anyone have any idea what I'm doing wrong here?
>
> Thanks,
>
> Mathias
>