Results 1 to 3 of 3
- 01-03-2009, 01:59 AM #1
Member
- Join Date
- Jan 2009
- Posts
- 2
- Rep Power
- 0
problem in installing app on Tomcat 6 at linux
Hi
I developed a web application, I deployed it on Tomcat 6 at windows, it worked fine. It also run successfully on eclipse also.
But when I installed it on Tomcat 6 at linux server, I got following error
Please help me...Java Code:org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 14 11: <%@ page import="java.util.List"%> 12: <%@ page import="domain.model.Connections"%> 13: <%@ page contentType = "text/html; charset=UTF-8" pageEncoding="UTF-8" %> 14: <html:html> 15: 16: 17: <head> Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:616) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:537) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162) root cause javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.struts.taglib.html.HtmlTag org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852) org.apache.jasper.runtime.PageContextImpl.access$1100(PageContextImpl.java:71) org.apache.jasper.runtime.PageContextImpl$12.run(PageContextImpl.java:768) java.security.AccessController.doPrivileged(Native Method) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:766) org.apache.jsp.index_jsp._jspService(index_jsp.java:96) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:616) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:537) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162) root cause java.lang.NoClassDefFoundError: Could not initialize class org.apache.struts.taglib.html.HtmlTag sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) java.lang.reflect.Constructor.newInstance(Constructor.java:532) java.lang.Class.newInstance0(Class.java:372) java.lang.Class.newInstance(Class.java:325) org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126) org.apache.jsp.index_jsp._jspx_meth_html_005fhtml_005f0(index_jsp.java:108) org.apache.jsp.index_jsp._jspService(index_jsp.java:87) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:616) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:537) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
- 01-03-2009, 02:02 AM #2
Member
- Join Date
- Jan 2009
- Posts
- 2
- Rep Power
- 0
And this is my jsp page
Java Code:<%@ page language="java" %> <%@ taglib uri="/tags/struts-html" prefix="html" %> <%@ taglib uri="/tags/struts-logic" prefix="logic" %> <%@ taglib uri="/tags/struts-bean" prefix="bean"%> <%@ taglib uri="/tags/struts-html-el" prefix="htmlel" %> <%@ taglib uri="/tags/jstl-core" prefix="c" %> <%@ taglib uri="/tags/corelib-html" prefix="corelibhtml" %> <%@ taglib uri="/tags/display" prefix="display"%> <%@ taglib uri="/tags/displayel" prefix="display-el"%> <%@ page import="java.util.List"%> <%@ page import="domain.model.Connections"%> <%@ page contentType = "text/html; charset=UTF-8" pageEncoding="UTF-8" %> <html:html> <head> <script language="javascript"> function doUpload(){ document.connectionsActionForm.action="connectionsAction.do?eventName=imageUpload&entityName=connections&image=testingPurpose&imageName=test.png"; document.connectionsActionForm.submit(); } function doInsert(){ document.connectionsActionForm.action="connectionsAction.do?eventName=create&entityName=connections&xmlData="; document.connectionsActionForm.submit(); } function doGenerateMap(){ document.connectionsActionForm.action="connectionsAction.do?eventName=map&entityName=connections&lat=28.6&longt=72.6&zoom=8"; document.connectionsActionForm.submit(); } </script> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="expires" content="0"> <title>Test</title> <link rel="StyleSheet" href="img/newswadmin.css" type="text/css"> </head> <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> <html:form action="/connectionsAction.do"> <!-- <input type="button" value="imageUpload" onclick="doUpload();"/> <input type="button" value="adds" onclick="doInsert();"/> --> <input type="button" value="map" onclick="doGenerateMap();"/> </html:form> </body> </html:html>
- 01-03-2009, 06:36 PM #3
Member
- Join Date
- Jul 2008
- Posts
- 68
- Rep Power
- 0
Similar Threads
-
[SOLVED] Windows Linux conflict - TrayIcon image not display in Linux
By Eranga in forum Advanced JavaReplies: 6Last Post: 04-08-2009, 04:05 AM -
[SOLVED] Problem with setVisible(); on LINUX
By lepetitprince in forum AWT / SwingReplies: 9Last Post: 11-22-2008, 04:14 PM -
Problem locating resources on Linux.
By jimm1 in forum New To JavaReplies: 1Last Post: 01-18-2008, 06:34 PM -
problem with ServerSocket on Linux
By gabriel in forum New To JavaReplies: 1Last Post: 08-07-2007, 04:46 PM -
Running Tomcat in Linux from Eclipse.
By Felissa in forum EclipseReplies: 1Last Post: 06-05-2007, 05:47 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks