wood burning stoves 2.0*
The moose likes JSP and the fly likes Getting error while deploying Paging folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Getting error while deploying Paging folder" Watch "Getting error while deploying Paging folder" New topic
Author

Getting error while deploying Paging folder

Priyanka Dande
Ranch Hand

Joined: May 14, 2012
Posts: 53
This absolute uri (http://java.sun.com/jstl/fmt) cannot be resolved in either web.xml or the jar files deployed with this application
Getting the qbove error while deploying paging folder in the tomcat, i have already installed taglib.jar, jstl.jar, or other required jar to the application's WEB-INF folder but still getting above error
Kindly help
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

That URI is wrong. Do some research to find the correct URI. Start with the JspFaq.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Priyanka Dande
Ranch Hand

Joined: May 14, 2012
Posts: 53
Thank you for the reply but I have change the uRL to
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> and put jstl1.1.2.jar and standard 1.1.2.jar in application's WEB-INF Folder
but still i am getting the error

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>


Below arror i am getting for the URL




PLEASE HELP








Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Please read KeepItDown and avoid posting in all uppercase.

Servlets 2.2? What web container are you using? Tomcat? What version?
Priyanka Dande
Ranch Hand

Joined: May 14, 2012
Posts: 53
Thanks for the reply
Uppercase means ?
I am using Tomcat 4.1.2 application software
kindly provide me the solution
Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

Change your tomcat server to some latest version and try out may be it will work
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1449
    
    6

application's WEB-INF Folder? Should it be under application's WEB-INF\lib Folder?


Swastik
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Your web.xml DOCTYPE is ancient. Upgrade to a newer version of Tomcat and see the JspFaq for infer on how to correctly set up the JSTL. The first thing you need to do is to fix your web.xml declaration.
Priyanka Dande
Ranch Hand

Joined: May 14, 2012
Posts: 53
Thanks for your reply
i have upgraded my tomcat 4.1 to tomcat 6.0 and deploy the paging folder(datagrid) to tomcat 6.0 but tomcat 6.0 giving me the message as
Message: FAIL - Application at context path /datagrid could not be started
also i have change my web.xml declaration as



my previous web-app declaration was




please help
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Look in the logs for the reason for the failure.
Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

post the log file for error we can guess something from it
Priyanka Dande
Ranch Hand

Joined: May 14, 2012
Posts: 53
kindly find my catalina.out for my tomcat 6.0


what should i change in web.xml?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

SEVERE: Parse Fatal Error at line 34 column 1: XML document structures must start and end within the same entity.

Check the structure of your web.xml.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

You should change whatever in your web.xml file makes it not be well-formed.

SEVERE: Parse Fatal Error at line 34 column 1: XML document structures must start and end within the same entity.


I would suggest looking around line 34, column 1 for a start. Perhaps you missed an end tag, or misspelled an element name, or something like that.
Priyanka Dande
Ranch Hand

Joined: May 14, 2012
Posts: 53
thank you for your prompt reply
i have checked my web.xml file


i have posted above is my web.xml file from my project folder web-inf/web.xml

i have checked it but i didn't find any missing tag there?
please help
Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

priyanka i think you dint posted your xml properly here see the line 181 in log error

SEVERE: Parse error in application web.xml file at jndi:/localhost/datagrid/WEB-INF/web.xml
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.


It says problem with your JNDI check out the connection of JNDI and the data grid file
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting error while deploying Paging folder
 
Similar Threads
How to make exe file for my java program in Windows XP
Tomcat deployement Problem SEVERE: Error listenerStart
Error while deploying struts application
JBoss Remote Lookup
Reading DICOM Images