tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Bugayenko <e...@technoparkcorp.com>
Subject Re: where is javax/resource/spi/ResourceAdapterInternalException defined?
Date Thu, 28 Apr 2011 02:00:04 GMT
Indeed I'm including it, and can't remove, unfortunately.

The question is where exactly this class is implemented? In which JAR?

—
Yegor Bugayenko


On Mon, Apr 25, 2011 at 5:23 PM, Mansour Al Akeel <mansour.alakeel@gmail.com
> wrote:

> Are you including javaee-6.0 ?
> If so, try to remove it.
>
> On Wed Apr 20,2011 06:38 pm, Yegor Bugayenko wrote:
> > Hi,
> >
> > There is a strange error when I'm trying to use OpenEJB together with
> GWT:
> > "Absent Code attribute in method that is not native or abstract in class
> > file javax/resource/spi/ResourceAdapterInternalException" (full
> stacktrace
> > is below).
> >
> > As I understand, there is some JAR missing. But which one?
> >
> > Thanks!
> >
> > ?
> > Yegor Bugayenko
> >
> >
> >
> >      [java] [FATAL] OpenEJB.startup: OpenEJB has encountered a fatal
> error
> > and cannot be started: OpenEJB encountered an unexpected error while
> > attempting to instantiate the assembler.
> >      [java] java.lang.ClassFormatError: Absent Code attribute in method
> that
> > is not native or abstract in class file
> > javax/resource/spi/ResourceAdapterInternalException
> >      [java] at java.lang.ClassLoader.defineClass1(Native Method)
> >      [java] at
> java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> >      [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> >      [java] at
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> >      [java] at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> >      [java] at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> >      [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> >      [java] at java.security.AccessController.doPrivileged(Native Method)
> >      [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> >      [java] at
> >
> com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:365)
> >      [java] at
> >
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
> >      [java] at
> >
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
> >      [java] at java.lang.Class.forName0(Native Method)
> >      [java] at java.lang.Class.forName(Class.java:169)
> >      [java] at
> > org.apache.openejb.util.SafeToolkit.forName(SafeToolkit.java:41)
> >      [java] at
> > org.apache.openejb.util.SafeToolkit.newInstance(SafeToolkit.java:49)
> >      [java] at
> org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:103)
> >      [java] at
> org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:60)
> >      [java] at org.apache.openejb.OpenEJB.init(OpenEJB.java:271)
> >      [java] at org.apache.openejb.OpenEJB.init(OpenEJB.java:250)
> >      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >      [java] at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >      [java] at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >      [java] at java.lang.reflect.Method.invoke(Method.java:597)
> >      [java] at
> > org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
> >      [java] at
> >
> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
> >      [java] at
> >
> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
> >      [java] at
> >
> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
> >      [java] at
> > javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
> >      [java] at
> > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
> >      [java] at javax.naming.InitialContext.init(InitialContext.java:223)
> >      [java] at
> javax.naming.InitialContext.<init>(InitialContext.java:175)
> >      [java] at
> >
> com.sun.faces.config.WebConfiguration.processJndiEntries(WebConfiguration.java:609)
> >      [java] at
> > com.sun.faces.config.WebConfiguration.<init>(WebConfiguration.java:118)
> >      [java] at
> >
> com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:178)
> >      [java] at
> >
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:158)
> >      [java] at
> >
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)
> >      [java] at
> > org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> >      [java] at
> >
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> >      [java] at
> > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)
> >      [java] at
> > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> >      [java] at
> >
> com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:461)
> >      [java] at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> >      [java] at
> > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> >      [java] at
> >
> org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)
> >      [java] at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> >      [java] at
> > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> >      [java] at org.mortbay.jetty.Server.doStart(Server.java:222)
> >      [java] at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> >      [java] at
> >
> com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:565)
> >      [java] at
> com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:494)
> >      [java] at
> com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1058)
> >      [java] at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:800)
> >      [java] at com.google.gwt.dev.DevMode.main(DevMode.java:304)
>

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