Old version of tomee were for java 7 bit we support java 8 since months. The error is clearly a java version error and not a tomee one cause in a classloader. Le 26 févr. 2016 20:58, "mauro2java2011" <[email protected]> a écrit :
> But the error is relative at a web app or the MIaee.ear deployed? Is > possible that inhave compilated with java 8 but the tomee 1.7 is only for > javaee6 or 7? > > So you think that if i remove the apps deployed into apps dir and other > webapp into webapps, the tomee it turn to run succefully ? > Il 26/feb/2016 16:35 "Romain Manni-Bucau [via TomEE & OpenEJB]" < > [email protected]> ha scritto: > > > Yep your code needs java 8, ensure you didnt upgrade java version and > kept > > an older marker (.openshift/markers/java[7|8]) > > > > > > Romain Manni-Bucau > > @rmannibucau <https://twitter.com/rmannibucau> | Blog > > <http://rmannibucau.wordpress.com> | Github < > > https://github.com/rmannibucau> | > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > > <http://www.tomitribe.com> > > > > 2016-02-26 16:27 GMT+01:00 Daniel Cunha <[hidden email] > > <http:///user/SendEmail.jtp?type=node&node=4677692&i=0>>: > > > > > Unsupported major.minor version 52.0 > > > Sounds like an incompatibility java version. > > > > > > Look what version of the JDK you have on cloud and what version your > > code > > > need to have. > > > > > > > > > On Fri, Feb 26, 2016 at 6:51 AM, mauro2java2011 <[hidden email] > > <http:///user/SendEmail.jtp?type=node&node=4677692&i=1>> > > > wrote: > > > > > > > i have pushed a tomee to openshift but when i start i not get any web > > > page > > > > . > > > > i have also ebable the apps dir into tomee.xml > > > > into apps dir i have put MIaee.ear that contain a ejb and a war > > > > > > > > my tomee not show any page but it is started . > > > > into catalina.out i get: > > > > > > > > > > > > > > > > [miotomee-mauro.rhcloud.com 56d0302889f5cf7394000152]\> ls > > > > app-deployments app-root diy git mysql phpmyadmin > > > > [miotomee-mauro.rhcloud.com 56d0302889f5cf7394000152]\> cd > > > > $OPENSHIFT_DATA_DIR > > > > [miotomee-mauro.rhcloud.com data]\> cd tomee/logs > > > > [miotomee-mauro.rhcloud.com logs]\> ls > > > > catalina.2016-02-26.log localhost_access_log.2016-02-26.txt > > > > catalina.out manager.2016-02-26.log > > > > diy.log mysql.log > > > > host-manager.2016-02-26.log phpmyadmin.log > > > > localhost.2016-02-26.log > > > > [miotomee-mauro.rhcloud.com logs]\> vim catalina.2016-02-26.log > > > > INFO: Configuring enterprise application: > > > > > > > > > > /var/lib/openshift/56d0302889f5cf7394000152/app-root/data/tomee/apps/MIaee > > > > Feb 26, 2016 7:24:02 AM org.apache.openejb.OpenEJB$Instance <init> > > > > SEVERE: OpenEJB has encountered a fatal error and cannot be started: > > The > > > > Assembler encountered an unexpected error while attempting to build > > the > > > > container > > > > > > > > system. > > > > java.lang.UnsupportedClassVersionError: nuovi/mauro/ejbs/NuovoEjb : > > > > Unsupported major.minor version 52.0 > > > > at java.lang.ClassLoader.defineClass1(Native Method) > > > > at java.lang.ClassLoader.defineClass(ClassLoader.java:800) > > > > at > > > > > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > > > > at > > java.net.URLClassLoader.defineClass(URLClassLoader.java:449) > > > > at java.net.URLClassLoader.access$100(URLClassLoader.java:71) > > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > > > > at java.security.AccessController.doPrivileged(Native Method) > > > > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:412) > > > > at > > > > > > > > > > org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:205) > > > > at > > > > > > > > > > org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:79) > > > > at > > > > > > org.apache.xbean.finder.archive.JarArchive.loadClass(JarArchive.java:84) > > > > at > > > > > > > > > > > > > > org.apache.xbean.finder.archive.CompositeArchive.loadClass(CompositeArchive.java:58) > > > > > > at > > > > > > > > > > > > > > org.apache.openejb.config.FinderFactory$DebugArchive.loadClass(FinderFactory.java:282) > > > > > > at > > > > > > > > > > > > > > org.apache.xbean.finder.AnnotationFinder$ClassInfo.get(AnnotationFinder.java:1453) > > > > > > at > > > > > > > > > > > > > > org.apache.xbean.finder.AnnotationFinder.findMetaAnnotatedClasses(AnnotationFinder.java:563) > > > > > > at > > > > > > > > > > > > > > org.apache.xbean.finder.AnnotationFinder.findMetaAnnotatedClasses(AnnotationFinder.java:512) > > > > > > at > > > > > > > > > > > > > > org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:1406) > > > > > > at > > > > > > > > > > > > > > org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:442) > > > > > > at > > > > > > > > > > > > > > org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:356) > > > > > > at > > > > > > > > > > > > > > org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:401) > > > > > > at > > > > > > > > > > > > > > org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:962) > > > > > > at > > > > > > > > > > > > > > org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:792) > > > > > > at > > > > > > > > > > > > > > org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:508) > > > > > > at > > > > > > > > > > > > > > org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:589) > > > > > > at > > > > > > > > > > > > > > org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:440) > > > > > > at > > > > > > org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:419) > > > > at > > org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:150) > > > > at org.apache.openejb.OpenEJB.init(OpenEJB.java:298) > > > > at > > > > > > org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:253) > > > > at > > > > > > org.apache.tomee.catalina.ServerListener.install(ServerListener.java:168) > > > > at > > > > > > > > > > > > > > org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:55) > > > > > > at > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) > > > > > > at > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > > > > > > at > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) > > > > > > at > > > > org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110) > > > > > > > > INFO: Using 'openejb.default.deployment- > > > > > > > > module=org.apache.openejb.config.WebModule' > > > > -- INSERT -- > > > > > > > > > > > > > > > > how resolve§? > > > > > > > > > > > > > > > > > > > > -- > > > > View this message in context: > > > > > > > > > > http://tomee-openejb.979440.n4.nabble.com/error-inti-tomee-on-openshif-tp4677690.html > > > > Sent from the TomEE Users mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > -- > > > Daniel Cunha > > > https://twitter.com/dvlc_ > > > http://www.tomitribe.com > > > http://www.tomitribe.io > > > > > > > > > ------------------------------ > > If you reply to this email, your message will be added to the discussion > > below: > > > > > http://tomee-openejb.979440.n4.nabble.com/error-inti-tomee-on-openshif-tp4677690p4677692.html > > To unsubscribe from error inti tomee on openshif, click here > > < > http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4677690&code=bWF1cm8yamF2YTIwMTFAZ21haWwuY29tfDQ2Nzc2OTB8LTExMTcxODc2MjU= > > > > . > > NAML > > < > http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/error-inti-tomee-on-openshif-tp4677690p4677694.html > Sent from the TomEE Users mailing list archive at Nabble.com.
