Hi,
i am first installing the tomcat 5.5 in my hosting server system and created the one folder(like test) in webapps and place all the jsp files.And also created the another folder(like test2) and place all related files in that.
Now i give the url as http://localhost:8080/test/sample.jsp http://localhost:8080/test1/home.jsp
Both are working fine.
Now i installed tomcat 6.0 and move the all the files in tomcat 5.5 into tomcat 6.0
Then i give the url as http://localhost:8080/test/sample.jsp
And when i give the another url as http://localhost:8080/test1/home.jsp
it shows the error messages as -
-
type Exception report
-
-
message
-
-
description The server encountered an internal error () that prevented it from fulfilling this request.
-
-
exception
-
-
javax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
-
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:275)
-
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
-
-
root cause
-
-
java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
-
org.apache.jsp.my_002dphotos_jsp._jspInit(my_002dphotos_jsp.java:22)
-
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
-
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:159)
-
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
-
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)
-
-
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
-
Could you please suggest the problem. Its the urgent. please help to that.
10 12556
Most likely there are some offending (to Tomcat 6) jars in your application's WEB-INF/lib directry. What jars do you have there?
Thank you for Reply. in another directory i,e test1 i place WEB-INF folder and it consists only web.xml .I didn't place any jar files..
please suggest that further solution
Stop tomcat, delete the whole "work" directory (back it up first if you get a bad feeling about this) and then restart the server.
another folder test also there in that webapps files in that folder works fine. the problem is i place the another directory test1 and put the file .It shows above error.It is the hosting server.When i remove that work directory is there any effect to that test directory files.Please suggest
JosAH 11,448
Recognized Expert MVP
Tomcat version 6.0.x. implements Servlets 2.5 and JSPs 2.1; version 5.5.x implements the versions 2.4 and 2.0 respectively. If there are compiled JSPs and/or servlets in that directory you can bet that things will go wrong.
kind regards,
Jos
The work directory is where tomcat compiles the jsp files into. When you delete the work directory and restart tomcat, it will simply recompile all the jsp files again. The work directory is separate from the webapps so your test directory will remain intact. A safer approach then is to open the work directory, find the folder that has the same name as the app you are trying to install and delete that one alone.
When tomcat starts next time it will recompile using the correct specification version.
i made changes like that.But i didn't get.I get the same error.Please suggest the reply how i can resolve my problem
Some additional information could help then.
1.)When you say "Now i installed tomcat 6.0 and move the all the files in tomcat 5.5 into tomcat 6.0", which files did you move from directory to which directory?
2.)Does your application use any class files or jar files? If so, what are they?
3.) What appears when you just type just http://localhost:8080 in the browser?
1.When i install tomcat 6.0 default we get some directories. I added the directories which are in tomcat5.5 and not in the tomcat 6.
These are commons ,server,shared folders.
2. in my test1 folder WEB-INF i place only web.xml. i didn't include classes and jar files.
3. When i give the url as http://localhost:8080/ like this i get the tomcat home page.
Please suggest the solution
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: bouchia.nazha |
last post by:
Hello
I have encountered a problem using tomcat, linux and ssl.
My problem seem to be a JVM memory deallocation problem on Linux.
This is my configuration:
OS: Redhat7.2
Tomcat: 4.0
Jdk: 1.3.1_07
|
by: Wayne Wengert |
last post by:
I am using VS.NET 2003, VB.NET, ADO.NET and an Access 2000 database. I want
to display a list of all tables in an Access database. I want to put that
list of table names in a listbox so the user can select the table they want
to use. How can I do this?
--
------------------------------------
Wayne Wengert
wayne@wengert.org
|
by: Harolds |
last post by:
The code below worked in VS 2003 & dotnet framework 1.1 but now in VS 2005
the pmID is evaluated to "" instead of what the value is set to:
....
xmlItems.Document = pmXML
// Add the pmID parameter to the XSLT stylesheet
XsltArgumentList xsltArgList = new XsltArgumentList();
xsltArgList.AddParam("pmID", "", pmID);
xmlItems.TransformArgumentList = xsltArgList;
|
by: greenb |
last post by:
Our asp.net web app uses a .NET component (DLL) in the bin directory to call
several stored procedures back to back to perform updates. They don't return
any data. Sometimes the total execution time can take 2-3 minutes, but even
though I have set the executionTimeout in web.config to a high number of
seconds (2400), the request will still time out after 90 seconds. The user
sees a Request timed out error. The app logs a ThreadAborted...
|
by: Dany |
last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by Microsoft must be installed on their servers.
Now german Umlaute (ä, ü, ö) and quotes are returned incorrectly in SOAP fault responses.
This can be easily verified:
Implement the following in a web service method (just raises a SOAPException with a...
| |
by: sssk28 |
last post by:
i have installed fedora core 6 and i am getting following error:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
|
by: gamiravi.d |
last post by:
Hi,
I have one c++ application to get number of monitors from
system. I am calling .exe of c++ application using java api through
tomcat server in browser on window vista. right now I have two
monitors attached in the system.one primary and other secondary. but
when i call c++ application using java api through tomcat server, it
lists only one primary monitor.
i have some scenario for behavoiur of such application:
|
by: sethupnr |
last post by:
when i'm using a simple JSP-mysql code it shows some HTTP status 500 error.But simple JSP program without databse is running , Please help how to solve this problem. I'm new to JSP.
my configurations are...
i installed j2sdk in C:\j2sdk1.4.2_16
then installed jakarte-tomcat in C:\Program Files\Apache Tomcat 4.0 folder
copied mysql-connector-java-3.0.17-ga-bin.jar to C:\Program Files\Apache Tomcat 4.0\common\lib
|
by: mjahabarsadiq |
last post by:
Hi
I have created a web application. I am using ant to build the war and deploy in tomcat.
The war file is deployed under "TOMCATE_HOME/work/standalone/localhost/onlineres.war".
I have my source files in "D:\Sadiq\Projects\Onlineres". The folder structure is as follows.
1) D:\Sadiq\Projects\Onlineres:
This folder is having the context.xml, web.xml, build.xml and build.properties files.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |