Hi

jsp api are not refereanced.

add "$TOMCAT_HOME\common\lib\jsp-api.jar" to your CLASSPATH (environment 
variable)

With best regards

From
Vikas R. Khengare

  ----- Original Message ----- 
  From: Great Man 
  To: [email protected] 
  Sent: Monday, April 09, 2007 10:17 PM
  Subject: First Time Axis Installation


  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)





------------------------------------------------------------------------------
  Don't be flakey. Get Yahoo! Mail for Mobile and 
  always stay connected to friends.

Reply via email to