<div dir="ltr">Tak jsem to zkusil, ted uz nenastartuji ani server:<div><br></div><div><div>u-pl17:~/BIG/Middleware/as5/Example$ ./run-server</div><div>Apache OpenEJB 3.1.2 Â Â build: 20091010-03:11</div><div><a href="http://openejb.apache.org/">http://openejb.apache.org/</a></div>
<div>org.apache.openejb.OpenEJBException: OpenEJB has encountered a fatal error and cannot be started: The Assembler encountered an unexpected error while attempting to build the container system.: mwy/ExampleEntityBeans : Unsupported major.minor version 51.0</div>
<div>Â Â Â Â at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:144)</div><div>Â Â Â Â at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)</div><div>Â Â Â Â at org.apache.openejb.server.Server.init(Server.java:63)</div>
<div>Â Â Â Â at org.apache.openejb.server.Main.initServer(Main.java:155)</div><div>Â Â Â Â at org.apache.openejb.server.Main.main(Main.java:128)</div><div>Â Â Â Â at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div>
<div>Â Â Â Â at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</div><div>Â Â Â Â at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</div><div>Â Â Â Â at java.lang.reflect.Method.invoke(Method.java:597)</div>
<div>Â Â Â Â at org.apache.openejb.cli.MainImpl.main(MainImpl.java:152)</div><div>Â Â Â Â at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:103)</div><div>Caused by: java.lang.UnsupportedClassVersionError: mwy/ExampleEntityBeans : Unsupported major.minor version 51.0</div>
<div>Â Â Â Â at java.lang.ClassLoader.defineClass1(Native Method)</div><div>Â Â Â Â at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)</div><div>Â Â Â Â at java.lang.ClassLoader.defineClass(ClassLoader.java:615)</div>
<div>Â Â Â Â at java.lang.ClassLoader.defineClass(ClassLoader.java:465)</div><div>Â Â Â Â at org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:137)</div><div>Â Â Â Â at org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:66)</div>
<div>Â Â Â Â at org.apache.xbean.finder.ClassFinder$ClassInfo.get(ClassFinder.java:578)</div><div>Â Â Â Â at org.apache.xbean.finder.ClassFinder.findAnnotatedClasses(ClassFinder.java:239)</div><div>Â Â Â Â at org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:459)</div>
<div>Â Â Â Â at org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:253)</div><div>Â Â Â Â at org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:188)</div>
<div>Â Â Â Â at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:247)</div><div>Â Â Â Â at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:601)</div>
<div>Â Â Â Â at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:488)</div><div>Â Â Â Â at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:356)</div>
<div>Â Â Â Â at org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:299)</div><div>Â Â Â Â at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:278)</div><div>Â Â Â Â at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)</div>
<div>    ... 10 more</div></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div><span style="color:rgb(51,51,51)"><font><b>Michal Staša</b></font></span></div><font color="#333333"><br></font><b><font style="background-color:rgb(255,255,255)" color="#ff9900">Santhos.net</font></b><font color="#666666"><br>
</font><a href="http://www.santhos.net/" target="_blank"><font color="#666666">www.santhos.net</font></a><font color="#666666"><br><br><font face="Helvetica Neue Regular, Helvetica, Arial, sans-serif">+420 773 454 793</font><br>
<a href="mailto:michal.stasa@santhos.net" style="color:rgb(17,85,204)" target="_blank"><font color="#666666">michal.stasa@santhos.net</font></a></font><br></div>
<br><br><div class="gmail_quote">On 14 May 2013 20:34, Peter Júnoš <span dir="ltr"><<a href="mailto:petoju@gmail.com" target="_blank">petoju@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cau,<br>
<div class="im"><br>
On Ut, 2013-05-14 at 19:38 +0200, Michal Stasa wrote:<br>
> java.lang.VerifyError: Expecting a stackmap frame at branch target 13<br>
in method mwy.Director.setMovies(Ljava/util/Collection;)V at<br>
<br>
</div>Pravdepodobne ide o zlu verziu Javy - skus spustit<br>
<br>
java-config -s sun-jdk-1.6<br>
--<br>
Peter Júnoš<br>
email, jabber: <a href="mailto:petoju@gmail.com">petoju@gmail.com</a><br>
<br>
"I'm not getting paid much for staying alive but it's good experience."<br>
<div><div class="h5"><br>
<br>
On Ut, 2013-05-14 at 19:38 +0200, Michal Stasa wrote:<br>
> Jeste jen doplnim, ze chyba primo z prilozeneho Example vypada takto:<br>
><br>
><br>
> u-pl17:~/BIG/Middleware/as5/Example$ ./run-client<br>
> Hello World!!!!<br>
> 1<br>
> 2<br>
> 0<br>
> 1<br>
> Exception in thread "main" javax.ejb.EJBException: The bean<br>
> encountered a non-application exception; nested exception is:<br>
> Â Â Â Â java.lang.VerifyError: Expecting a stackmap frame at branch<br>
> target 13 in method mwy.Director.setMovies(Ljava/util/Collection;)V at<br>
> offset 4<br>
> Â Â Â Â at<br>
> org.apache.openejb.client.EJBInvocationHandler.convertException(EJBInvocationHandler.java:219)<br>
> Â Â Â Â at<br>
> org.apache.openejb.client.EJBObjectHandler._invoke(EJBObjectHandler.java:162)<br>
> Â Â Â Â at<br>
> org.apache.openejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:117)<br>
> Â Â Â Â at<br>
> org.apache.openejb.client.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:52)<br>
> Â Â Â Â at com.sun.proxy.$Proxy2.addDirector(Unknown Source)<br>
> Â Â Â Â at ExampleClient.main(ExampleClient.java:38)<br>
> Caused by: java.lang.VerifyError: Expecting a stackmap frame at branch<br>
> target 13 in method mwy.Director.setMovies(Ljava/util/Collection;)V at<br>
> offset 4<br>
> Â Â Â Â at<br>
> mwy.ExampleEntityBeans.addDirector(ExampleEntityBeans.java:26)<br>
> Â Â Â Â at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
> Â Â Â Â at<br>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
> Â Â Â Â at<br>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
> Â Â Â Â at java.lang.reflect.Method.invoke(Method.java:601)<br>
> Â Â Â Â at<br>
> org.apache.openejb.core.interceptor.ReflectionInvocationContext<br>
> $Invocation.invoke(ReflectionInvocationContext.java:158)<br>
> Â Â Â Â at<br>
> org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)<br>
> Â Â Â Â at<br>
> org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:122)<br>
> Â Â Â Â at<br>
> org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:221)<br>
> Â Â Â Â at<br>
> org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:174)<br>
> Â Â Â Â at<br>
> org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:136)<br>
> Â Â Â Â at<br>
> org.apache.openejb.server.ejbd.EjbRequestHandler.doEjbObject_BUSINESS_METHOD(EjbRequestHandler.java:238)<br>
> Â Â Â Â at<br>
> org.apache.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:129)<br>
> Â Â Â Â at<br>
> org.apache.openejb.server.ejbd.EjbDaemon.processEjbRequest(EjbDaemon.java:196)<br>
> Â Â Â Â at<br>
> org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:149)<br>
> Â Â Â Â at<br>
> org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:71)<br>
> Â Â Â Â at org.apache.openejb.server.ejbd.KeepAliveServer<br>
> $Session.service(KeepAliveServer.java:213)<br>
> Â Â Â Â at<br>
> org.apache.openejb.server.ejbd.KeepAliveServer.service(KeepAliveServer.java:233)<br>
> Â Â Â Â at<br>
> org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:66)<br>
> Â Â Â Â at org.apache.openejb.server.ServicePool<br>
> $2.run(ServicePool.java:91)<br>
> Â Â Â Â at org.apache.openejb.server.ServicePool<br>
> $3.run(ServicePool.java:120)<br>
> Â Â Â Â at<br>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
> Â Â Â Â at java.util.concurrent.ThreadPoolExecutor<br>
> $Worker.run(ThreadPoolExecutor.java:615)<br>
> Â Â Â Â at java.lang.Thread.run(Thread.java:722)<br>
><br>
> Michal Staša<br>
><br>
> Santhos.net<br>
> <a href="http://www.santhos.net" target="_blank">www.santhos.net</a><br>
><br>
> <a href="tel:%2B420%20773%20454%20793" value="+420773454793">+420 773 454 793</a><br>
> <a href="mailto:michal.stasa@santhos.net">michal.stasa@santhos.net</a><br>
><br>
><br>
><br>
> On 14 May 2013 19:31, Michal Stasa <<a href="mailto:michal.stasa@gmail.com">michal.stasa@gmail.com</a>> wrote:<br>
> Â Â Â Â Dobry den,<br>
><br>
><br>
> Â Â Â Â dodelavam ted na posledni chvili implementaci domaciho ukolu<br>
> Â Â Â Â na EJB. V moji implementaci se objevuje velice podivna<br>
> Â Â Â Â vyjimka, na kterou jsem narazil i pri snaze spustit Example<br>
> Â Â Â Â (viz nize). Kod jsem v obou pripadech kompiloval v labu pres<br>
> Â Â Â Â prilozeny make u Examplu. Nepotkal nekdo podobnou chybu?<br>
> Â Â Â Â Jakykoliv hint k teto chybe bude skvely.<br>
><br>
><br>
> Â Â Â Â ./run-client<br>
> Â Â Â Â Exception in thread "main" javax.ejb.EJBException: The bean<br>
> Â Â Â Â encountered a non-application exception; nested exception is:<br>
> Â Â Â Â Â Â Â Â java.lang.VerifyError: Expecting a stackmap frame at<br>
> Â Â Â Â branch target 18 in method mwy.Node.pcCopyField(Lmwy/Node;I)V<br>
> Â Â Â Â at offset 7<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.client.EJBInvocationHandler.convertException(EJBInvocationHandler.java:219)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.client.EJBObjectHandler._invoke(EJBObjectHandler.java:162)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:117)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.client.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:52)<br>
> Â Â Â Â Â Â Â Â at com.sun.proxy.$Proxy0.addNode(Unknown Source)<br>
> Â Â Â Â Â Â Â Â at ExampleClient.createNodes(ExampleClient.java:37)<br>
> Â Â Â Â Â Â Â Â at ExampleClient.main(ExampleClient.java:93)<br>
> Â Â Â Â Caused by: java.lang.VerifyError: Expecting a stackmap frame<br>
> Â Â Â Â at branch target 18 in method<br>
> Â Â Â Â mwy.Node.pcCopyField(Lmwy/Node;I)V at offset 7<br>
> Â Â Â Â Â Â Â Â at mwy.SearcherImpl.addNode(SearcherImpl.java:72)<br>
> Â Â Â Â Â Â Â Â at sun.reflect.NativeMethodAccessorImpl.invoke0(Native<br>
> Â Â Â Â Method)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
> Â Â Â Â Â Â Â Â at java.lang.reflect.Method.invoke(Method.java:601)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:122)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:221)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:174)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:136)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.server.ejbd.EjbRequestHandler.doEjbObject_BUSINESS_METHOD(EjbRequestHandler.java:238)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:129)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.server.ejbd.EjbDaemon.processEjbRequest(EjbDaemon.java:196)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:149)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:71)<br>
> Â Â Â Â Â Â Â Â at org.apache.openejb.server.ejbd.KeepAliveServer<br>
> Â Â Â Â $Session.service(KeepAliveServer.java:213)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.server.ejbd.KeepAliveServer.service(KeepAliveServer.java:233)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:66)<br>
> Â Â Â Â Â Â Â Â at org.apache.openejb.server.ServicePool<br>
> Â Â Â Â $2.run(ServicePool.java:91)<br>
> Â Â Â Â Â Â Â Â at org.apache.openejb.server.ServicePool<br>
> Â Â Â Â $3.run(ServicePool.java:120)<br>
> Â Â Â Â Â Â Â Â at<br>
> Â Â Â Â java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
> Â Â Â Â Â Â Â Â at java.util.concurrent.ThreadPoolExecutor<br>
</div></div><div class="im">> Â Â Â Â $Worker.run(ThreadPoolExecutor.java:615)<br>
> Â Â Â Â Â Â Â Â at java.lang.Thread.run(Thread.java:722)<br>
><br>
><br>
> Â Â Â Â Diky<br>
> Â Â Â Â S pozdravem<br>
>     Michal Staša<br>
><br>
><br>
</div>> _______________________________________________<br>
> MWy mailing list<br>
> <a href="mailto:MWy@d3s.mff.cuni.cz">MWy@d3s.mff.cuni.cz</a><br>
> <a href="https://d3s.mff.cuni.cz/mailman/listinfo/mwy" target="_blank">https://d3s.mff.cuni.cz/mailman/listinfo/mwy</a><br>
<br>
<br>
_______________________________________________<br>
MWy mailing list<br>
<a href="mailto:MWy@d3s.mff.cuni.cz">MWy@d3s.mff.cuni.cz</a><br>
<a href="https://d3s.mff.cuni.cz/mailman/listinfo/mwy" target="_blank">https://d3s.mff.cuni.cz/mailman/listinfo/mwy</a><br>
</blockquote></div><br></div>