• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Axis 2 Installation  RSS feed

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I installed tomcat and it is working fine then I followed instructions given on this page http://ws.apache.org/axis/java/install.html but could not install axis.

Any help is appreciated. Thanks

I did following things.

1-Extracted axis zip file
2- Copy following two folders

C:\axis\webapp\axis2-web
C:\axis\webapp\web-inf

to this location C:\Tomcat 5.5\webapps\axis

Accessed localhost:8080/axis

and I am getting this

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 12 in the jsp file: /include/httpbase.jsp
ConfigurationContext cannot be resolved to a type
9:
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();

An error occurred at line: 12 in the jsp file: /include/httpbase.jsp
ConfigurationContext cannot be resolved to a type
9:
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();


An error occurred at line: 12 in the jsp file: /include/httpbase.jsp
AxisServlet.CONFIGURATION_CONTEXT cannot be resolved to a type
9:
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();


An error occurred at line: 13 in the jsp file: /include/httpbase.jsp
Parameter cannot be resolved to a type
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();
16: }


An error occurred at line: 13 in the jsp file: /include/httpbase.jsp
Constants.HTTP_FRONTEND_HOST_URL cannot be resolved to a type
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();
16: }


Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
org.apache.jsp.index_jsp._jspService(index_jsp.java:67)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 
Shariq Roomi
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay I found the problem. jars were mising from lib folder
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!