I took a fresh installation of tomee, added you revised tomee.sh and started 
it from the tomee directory, and typing "bin/tomee start".

It put out this exception twice, followed by:-

Apr 06, 2015 12:18:18 PM org.apache.openejb.util.LogStreamAsync run
INFO: Deployed MBean(openejb.user.mbeans:application=openejb-core-5.0.0-
SNAPSHOT,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
Apr 06, 2015 12:18:18 PM org.apache.openejb.util.LogStreamAsync run
INFO: Deployed Application(path=/usr/local/share/apache-tomee-plus-2.0.0-
SNAPSHOT/classpath.ear)
[init] OpenEJB Remote Server

The odd thing is that classpath.ear does not seem to exist.

David

On Monday 06 April 2015 12:55:33 Romain Manni-Bucau wrote:
> No
> 
> Which command do you use?
> 
> TomEE should only be used with tomcat scripts
> Le 6 avr. 2015 11:28, "David Goodenough" <[email protected]>
> a écrit :
> > When I start tomee (current snapshot) with the fixed JAVA_HOME shell
> > script
> > it starts, but logs the following exception:-
> > 
> > SEVERE: the mbean
> > 
> > org.apache.openejb.resource.GeronimoTransactionManagerFactory$TransactionM
> > anagerMBean can't be registered because it can't be instantiated
> > java.lang.InstantiationException:
> > 
> > org.apache.openejb.resource.GeronimoTransactionManagerFactory$TransactionM
> > anagerMBean> 
> >         at java.lang.Class.newInstance(Class.java:427)
> >         at
> > 
> > org.apache.openejb.assembler.classic.Assembler.deployMBean(Assembler.java:
> > 1439)> 
> >         at
> > 
> > org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler
> > .java:969)> 
> >         at
> > 
> > org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler
> > .java:671)> 
> >         at
> > 
> > org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assemb
> > ler.java:549)> 
> >         at
> > 
> > org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:451)
> > 
> >         at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:150)
> >         at org.apache.openejb.OpenEJB.init(OpenEJB.java:298)
> >         at org.apache.openejb.server.Server.init(Server.java:65)
> >         at org.apache.openejb.server.Main.initServer(Main.java:154)
> >         at org.apache.openejb.server.Main.main(Main.java:128)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > 
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > 62)> 
> >         at
> > 
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> > pl.java:43)> 
> >         at java.lang.reflect.Method.invoke(Method.java:497)
> >         at org.apache.openejb.cli.MainImpl.main(MainImpl.java:148)
> >         at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:106)
> > 
> > Caused by: java.lang.NoSuchMethodException:
> > 
> > org.apache.openejb.resource.GeronimoTransactionManagerFactory$TransactionM
> > anagerMBean.<init>()> 
> >         at java.lang.Class.getConstructor0(Class.java:3082)
> >         at java.lang.Class.newInstance(Class.java:412)
> >         ... 16 more
> > 
> > Is this normal?
> > 
> > David

Reply via email to