[jboss-user] [Installation, Configuration & Deployment] - Urgent:Error while accessing deployed application in JBoss4.

ushashi do-not-reply at jboss.com
Fri Feb 23 10:11:28 EST 2007


Our application got successfully deployed in JBoss4.0.3SP1 in linux environment
ANT version 1.7.0
JDK version 1.5.0.06
Ant and JAVA path are mentioned in profile and
version of ant and java are echoed correctly when we give ant -version and java -version.

Error Description:

While accesing the application we get the following error, 

The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: org/apache/tools/ant/Main
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

root cause

java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
	org.apache.tools.ant.Project.initProperties(Project.java:308)
	org.apache.tools.ant.Project.init(Project.java:295)
	org.apache.jasper.compiler.AntCompiler.getProject(AntCompiler.java:74)
	org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:129)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.


Kindly let us know the solution if anyone has encountered and solved this problem. very urgent.

Thanks 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021135#4021135

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021135



More information about the jboss-user mailing list