[jboss-as7-dev] webapp classloader exception
小明哥
michaelxu.work at qq.com
Sun Mar 13 21:08:07 EDT 2011
Hi all,
I deploy chartdirector demo app(chartdir_java.war) to jboss as 7, exception as follows:
any help?
javax.servlet.ServletException: java.lang.LinkageError: Failed to link ChartDirector/bA (Module "deployment.chartdir_java.war:main" from Service Module Loader) org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791) org.apache.jsp.jspdemo.cdinfo_jsp._jspService(cdinfo_jsp.java:111) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
root cause
java.lang.LinkageError: Failed to link ChartDirector/bA (Module "deployment.chartdir_java.war:main" from Service Module Loader) org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:372) org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:248) org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:72) org.jboss.modules.Module.loadModuleClass(Module.java:576) org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:176) org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) ChartDirector.Chart.getBootLog(SourceFile:652) org.apache.jsp.jspdemo.cdinfo_jsp._jspService(cdinfo_jsp.java:97) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
root cause
java.lang.NoClassDefFoundError: ChartDirector/bA (wrong name: ChartDirector/ba) java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) java.lang.ClassLoader.defineClass(ClassLoader.java:616) java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:368) org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:248) org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:72) org.jboss.modules.Module.loadModuleClass(Module.java:576) org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:176) org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) ChartDirector.Chart.getBootLog(SourceFile:652) org.apache.jsp.jspdemo.cdinfo_jsp._jspService(cdinfo_jsp.java:97) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
note The full stack trace of the root cause is available in the JBoss Web/7.0.0.Beta4 logs.
JBoss Web/7.0.0.Beta4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110314/a7713b08/attachment.html
More information about the jboss-as7-dev
mailing list