users@glassfish.java.net

Re: NoClassDefFoundError javax/resource/spi/ResourceAdapter

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Thu, 17 Dec 2009 09:44:52 +0530

javax/resource/spi/ResourceAdapter is a Java EE API (connectors).
In v2, it will be within GF_HOME/lib/javaee.jar

* Which version, build of GlassFish are you using ? (asadmin version
--verbose)
* Can you make sure that the javax/resource/spi/ResourceAdapter class is
available in lib/javaee.jar ?

Thanks,
-Jagadish

On Wed, 2009-12-16 at 22:59 -0500, Bhaarat Sharma wrote:
> I am getting the following stacktrace when trying to bring my server
> up.
>
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
> Caused by: java.lang.NoClassDefFoundError:
> javax/resource/spi/ResourceAdapter
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>
>
>
>
> I dont know which exact jar is missing? what is PELaunch.java? has
> anyone come across this error before?