HTTP Status 404
Hello,
i am making a program of tiles using Struts2. i face error HTTP Status 404
May 4, 2010 11:31:59 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Program Files\Genuitec\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_8.0.0.me200911090405\tomcat\bin
May 4, 2010 11:32:00 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 4, 2010 11:32:00 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4361 ms
May 4, 2010 11:32:01 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 4, 2010 11:32:01 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
May 4, 2010 11:32:10 AM org.apache.tiles.impl.BasicTilesContainer init
INFO: Initializing Tiles2 container. . .
May 4, 2010 11:32:14 AM org.apache.tiles.impl.BasicTilesContainer initializeDefinitionsFactory
INFO: Tiles2 container initialization complete.
May 4, 2010 11:32:14 AM org.apache.tiles.access.TilesAccess setContainer
INFO: Publishing TilesContext for context: org.apache.catalina.core.ApplicationContextFacade
May 4, 2010 11:32:18 AM com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Parsing configuration file [struts-default.xml]
May 4, 2010 11:32:23 AM com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Parsing configuration file [struts-plugin.xml]
May 4, 2010 11:32:24 AM com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Parsing configuration file [struts.xml]
May 4, 2010 11:32:34 AM com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
SEVERE: Dispatcher initialization failed
Unable to load configuration. - action - file:/C:/Documents%20and%20Settings/7/Workspaces/MyEclipse%208.x/.metadata/.me_tcat/webapps/valid/WEB-INF/classes/mypackage.xml:16:60
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: Error building results for action customer in namespace / - action - file:/C:/Documents%20and%20Settings/7/Workspaces/MyEclipse%208.x/.metadata/.me_tcat/webapps/valid/WEB-INF/classes/mypackage.xml:16:60
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:367)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:468)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:264)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
... 30 more
Caused by: There is no result type defined for type 'tiles' mapped with name 'success'. Did you mean 'tiles'? - result - file:/C:/Documents%20and%20Settings/7/Workspaces/MyEclipse%208.x/.metadata/.me_tcat/webapps/valid/WEB-INF/classes/mypackage.xml:17:48
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:621)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:365)
... 35 more
May 4, 2010 11:32:34 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
Unable to load configuration. - action - file:/C:/Documents%20and%20Settings/7/Workspaces/MyEclipse%208.x/.metadata/.me_tcat/webapps/valid/WEB-INF/classes/mypackage.xml:16:60
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: Unable to load configuration. - action - file:/C:/Documents%20and%20Settings/7/Workspaces/MyEclipse%208.x/.metadata/.me_tcat/webapps/valid/WEB-INF/classes/mypackage.xml:16:60
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)
... 28 more
Caused by: Error building results for action customer in namespace / - action - file:/C:/Documents%20and%20Settings/7/Workspaces/MyEclipse%208.x/.metadata/.me_tcat/webapps/valid/WEB-INF/classes/mypackage.xml:16:60
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:367)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:468)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:264)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
... 30 more
Caused by: There is no result type defined for type 'tiles' mapped with name 'success'. Did you mean 'tiles'? - result - file:/C:/Documents%20and%20Settings/7/Workspaces/MyEclipse%208.x/.metadata/.me_tcat/webapps/valid/WEB-INF/classes/mypackage.xml:17:48
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:621)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:365)
... 35 more
May 4, 2010 11:32:34 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
May 4, 2010 11:32:34 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/valid] startup failed due to previous errors
May 4, 2010 11:32:34 AM org.apache.tiles.access.TilesAccess setContainer
INFO: Removing TilesContext for context: org.apache.catalina.core.ApplicationContextFacade
May 4, 2010 11:32:39 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 4, 2010 11:32:40 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 4, 2010 11:32:40 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/375 config=null
May 4, 2010 11:32:40 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 38531 ms
Here some files:
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Struts Blank</display-name>
<listener>
<listener-class>
org.apache.struts2.tiles.StrutsTilesListener
</listener-class>
</listener>
<context-param>
<param-name>tilesDefinitions</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</context-param>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>login.jsp</welcome-file>
</welcome-file-list>
</web-app>
tiles.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
"http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
<tiles-definitions>
<definition name="baseLayout" template="/BaseLayout.jsp">
<put-attribute name="title" value="" />
<put-attribute name="header" value="/Header.jsp" />
<put-attribute name="menu" value="/Menu.jsp" />
<put-attribute name="body" value="" />
<put-attribute name="footer" value="/Footer.jsp" />
</definition>
<definition name="/home.tiles" extends="baseLayout">
<put-attribute name="title" value="Home.jsp" />
<put-attribute name="body" value="/Home.jsp" />
</definition>
<definition name="/index.tiles" extends="baseLayout">
<put-attribute name="body" value="/index.jsp" />
</definition>
<definition name="/logged.success.tiles" extends="baseLayout">
<put-attribute name="title" value="Customer Added" />
<put-attribute name="body" value="/logged.jsp" />
</definition>
</tiles-definitions>
struts.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.devMode" value="false" />
<include file="mypackage.xml"/>
<!-- Add packages here -->
</struts>
mypackage.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="mypackage" namespace="/" extends="struts-default">
<action name="login" class="com.struts2.LoginAction">
<result name="input">/login.jsp</result>
<result name="success">/Home.jsp</result>
<result name="error">/login.jsp</result>
</action>
<action name="customer" class="com.struts2.CustomerAction">
<result name="success" type="tiles">/logged.success.tiles</result>
<result name="input" type="tiles">/index.tiles</result>
</action>
</package>
</struts>
please advice.
View Answers
Related Tutorials/Questions & Answers:
HTTP Status 404 - HTTP Status 404 -
HTTP Status 404 -
type
Status report
message
description The requested resource () is not available.
Apache Tomcat/5.5.31
how to rectify the above error
HTTP Status 404 - StrutsHTTP Status 404 Hello,
i am making a program of tiles using Struts2. i face error
HTTP Status 404
May 4, 2010 11:31:59 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which
Advertisements
HTTP Status 404 - JSP-ServletHTTP Status 404 Respected Sir/madam,
I am R.Ragavendran.. I am using J2EE1.4 SDK Application Server.. When I was working with it yesterday,Suddenly i found my server throwing the following Error:
HTTP Status 404 HTTP Status 404 - /Login/userdetail.javaHTTP Status 404 - /Login/userdetail.java I using netbeans to coonect...;head>
<meta
http-equiv="Content-Type" content="text/html; charset... information, visit the following link:
http://www.roseindia.net/jsp
HTTP Status 404 - /user/AddToCart.do - StrutsHTTP Status 404 user AddToCart Hi, I download the JSP source code to run the online shopping cart. Whenever I try to add a Item to cart, it shows me the error page with
HTTP Status 404 - /user/AddToCart.do What
Struts 2 : Http Status Error 404 - StrutsStruts 2 :
Http Status Error
404 Hi All,
I'm facing the below...:
--------------------------------------------------------------------------
HTTP Status 404...
---------------------------------------------------------------------------
I started the tomcat server and typed
http://localhost
java http 404 status error - JSP-Servletjava
http 404 status error I have tried to call a servlet from html page.. but it is showing
http 404 status error..
and the description... the following link:
http://www.roseindia.net/servlets/index.shtml
Thanks
Also HTTP Status 404 - /Login/userdetail.javaAlso
HTTP Status 404 - /Login/userdetail.java same can't to run.. error also please help..
index.jsp
<%@page pageEncoding="UTF-8"%>
<html>
<head>
<meta
http-equiv="Content-Type" content
404 status received in xmlhttp.status - Ajax404 status received in xmlhttp.status Hi! I tried out the code I found here using the AJAX login page. However, instead of using PHP for the server... is that I am getting the
status 404, instead of 200. thus, I am unable
http 404 resource not found error http 404 resource not found error Sir,
I have downloaded your RichLRApplication and deployed on tomcat 6 with oracle backend.
Application started in tomcat manager. But when I try to run I am getting
http 404 requested resource
HTTP Status 500 - HTTP Status 500 - Hi, I am new to jsp...
Installed Tomcat 5.5.... wrote.
i can see these errors...
HTTP Status 500 -
type Exception report... of your tomcat.
8)Open your browser and type the following url:
http://localhost
HTTP Status 500 - HTTP Status 500 - I've installed my Java libraries, and I am successfully able to compile
and run Jave files from the command line. However, when I....
TTP
Status 500 -
type Exception report
message
description The server
Error : http status 500?Error :
http status 500? hello sir,
am using netbeans6.7.1 version i implemented one program i.e web application ..when am excuting this one i got one error
http status 500...please solve this error ..when did i mistakn
defined actions in struts config still getting a HTTP 404 - Struts
I get this error
HTTP Status 404 - Invalid path /pages/tiles/AddNewCurrency...defined actions in struts config still getting a
HTTP 404 Hi guys...
--------------------------------------------------------------------------------
type
Status report
message Invalid path /pages/tiles
Still getting the http 404 error - Java BeginnersStill getting the
http 404 error Dear experts,
I refer to the last solution given to me.
A few clarification:-
1. I must stress... is userid?
Anyway, whatever I do, I still receive the
http 404 error...saying
loginform giving 404 error the submit button the give error is populated.
HTTP Status 404 - /login.doADS_TO_REPLACE_1
type
Status report
message /login.do
description The requested...loginform giving
404 error Hi,
I am developing a login form code
404 error404 error struts application having
404 error while hosting to a online server.it works fine in my local machine but dont work in virtual host.showing
404 error
404 error404 error i have
404 error in my addition programe of servlet how should i solve this.
i'm using netbean on glassfish server
404 error404 error i have
404 error in my addition programe of servlet how should i solve this.
i'm using netbean on glassfish server
404 error404 error hello anybody help me
when i deployed my ear file into jboss->server-> default->deploy folder it doesn't shows any error. but when i run this application by using localhost:8080/webapp ,it shows
404 error
loacation of errorpage in web.xml for 404 errorloacation of errorpage in web.xml for
404 error The webpage cannot be found
HTTP 404
Most likely causes:
ā?¢There might be a typing error... to and look for the information you want.
More information
This error (
HTTP 404 server statusserver status How to check the apache server
status in unix machine
ubuntu disco Release 404 Not Found http://in.archive.ubuntu.com/ubuntu disco-updates Release
404 Not Found [IP... Release
404 Not Found [IP: 43.255.166.254 80]
Ign:7
http://security.ubuntu.com...ubuntu disco Release
404 Not Found Hi,
I am trying to update my
Database StatusDatabase Status Hello Everyone,
I am working on a project,its almost done with only module remaining in it i.e; it has to show the
status of database in the graph chart or pie diagram in terms of percentage
An Assertion status in java.........An Assertion
status in java......... What is an Assertion
status............
Please visit the following links:
http://www.roseindia.net/javatutorials/use-assertion-in-java.shtml
http://www.roseindia.net/java/java
htpp 404 error "Servlet as is not available"htpp
404 error "Servlet as is not available" hi iam new to struts. when iam running my struts app after filling the login form iam getting "Servlet as is not available".
iam unable to find out where the error is.iam pasting my
ModuleNotFoundError: No module named 'status'ModuleNotFoundError: No module named '
status' Hi,
My Python... '
status'
How to remove the ModuleNotFoundError: No module named '
status'... to install padas library.
You can install
status python with following command
htpp 404 error "Servlet as is not available"htpp
404 error "Servlet as is not available" hi iam new to struts. when iam running my struts app after filling the login form iam getting "Servlet as is not available".
iam unable to find out where the error is.iam pasting my