openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xinglie Zheng <zheng.photogall...@gmail.com>
Subject Weblogic 11g cannot load WebBeansConfigurationListener
Date Tue, 26 Jun 2012 13:29:50 GMT
I am trying to setup Weblogic 11g running with OpenWebbeans.   I ran into
an error while deploying the application.

Jun 26, 2012 9:16:57 AM EDT> <Error> <HTTP> <BEA-101163> <Could not
load
user defined listener:
org.apache.webbeans.servlet.WebBeansConfigurationListener
java.lang.NoClassDefFoundError:
javassist/util/proxy/ProxyFactory$ClassLoaderProvider
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at
weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException:
javassist.util.proxy.ProxyFactory$ClassLoaderProvider
at
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Truncated. see log file for complete stacktrace


I have following jars in my WEB-INF\lib folder:

geronimo-interceptor_1.1_spec-1.0
 geronimo-atinject_1.0_spec-1.0.jar
 geronimo-interceptor_1.1_spec-1.0.jar
 geronimo-jcdi_1.0_spec-1.0.jar
 geronimo-atinject_1.0_spec-1.0.jar
 geronimo-interceptor_1.1_spec-1.0.jar
 geronimo-jcdi_1.0_spec-1.0.jar


Here is the content of my web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="
http://java.sun.com/xml/ns/javaee" xmlns:jsp="
http://java.sun.com/xml/ns/javaee/jsp" xmlns:web="
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID"
version="2.5">
  <display-name>Xpress</display-name>
  <welcome-file-list>
     .............
  </welcome-file-list>
  <listener>

<listener-class>org.apache.webbeans.servlet.WebBeansConfigurationListener</listener-class>
  </listener>

 I would greatly appreciate your help.

Mime
View raw message