[jboss-as7-dev] webapp classloader exception

David M. Lloyd david.lloyd at redhat.com
Mon Mar 14 10:43:23 EDT 2011


That looks quite a lot like https://issues.jboss.org/browse/JBVFS-170 - 
notice that the underlying error is that the request appears to have 
come for ChartDirector/ba but the actual class name is bA (those are 
very odd class names by the way).

On 03/13/2011 08:08 PM, СÃ÷¸ç wrote:
> 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
>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
- DML



More information about the jboss-as7-dev mailing list