HTTP status 404 when accessing ADF Faces app deployed in Tomcat
I have ADF faces app deployed to tomcat. The first time the application is accessed, the URL gets screwed up and I get HTTP 404. If I access the app again in the same browser, the page loads fine. If I clear the cookies and access it again, I get HTTP 404 again.
The problem can be seen live here:
1. Go to http://subash.redirectme.net:8080/stock/faces/welcome.jspx
The url in the browser gets messed up:
http://subash.redirectme.net:8080/stock/faces/welcome.jspxhttp://subash.redirectme.net:8080/stock/faces/;jsessionid=1A48DEA6CF208BAADCB3BE50084B1AD1?_afrLoop=1455371821548250&_afrWindowMode=0&_afrWindowId=null
2. Go to http://subash.redirectme.net:8080/stock/faces/welcome.jspx in the same browser. The page loads up fine.
3. Delete cookies and access the same page, the problem appears again.
Upon digging around, I found when the browser makes first request, the servers reponds with 200 OK with jsessionID cookie header. Then the client sends requests for "http://subash.redirectme.net:8080/stock/faces/welcome.jspxhttp://subash.redirectme.net:8080/stock/faces/;jsessionid=8E31D5895621B17B712186AA8AF6BF4A?_afrLoop=1455891492432424&_afrWindowMode=0&_afrWindowId=null" and the server correctly responds with HTTP 404. Looks like some ADF issue.
This problem was not seen in Weblogic server, but started appearing when I tested in Tomcat.
Here is HTTP Trace:
http://subash.redirectme.net:8080/stock/faces/welcome.jspx
GET /stock/faces/welcome.jspx HTTP/1.1
Host: subash.redirectme.net:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,fr-FR;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
HTTP/1.x 200 OK
Cache-Control: no-cache
Content-Type: text/html;charset=utf-8
Date: Tue, 09 Feb 2010 21:55:15 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Proxy-Connection: keep-alive
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=8E31D5895621B17B712186AA8AF6BF4A; Path=/stock
Transfer-Encoding: chunked
http://subash.redirectme.net:8080/stock/faces/welcome.jspxhttp://subash.redirectme.net:8080/stock/faces/;jsessionid=8E31D5895621B17B712186AA8AF6BF4A?_afrLoop=1455891492432424&_afrWindowMode=0&_afrWindowId=null
GET /stock/faces/welcome.jspxhttp://subash.redirectme.net:8080/stock/faces/;jsessionid=8E31D5895621B17B712186AA8AF6BF4A?_afrLoop=1455891492432424&_afrWindowMode=0&_afrWindowId=null HTTP/1.1
Host: subash.redirectme.net:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,fr-FR;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Referer: http://subash.redirectme.net:8080/stock/faces/welcome.jspx
Cookie: JSESSIONID=8E31D5895621B17B712186AA8AF6BF4A
HTTP/1.x 404 Not Found
Content-Length: 1144
Content-Type: text/html
Date: Tue, 09 Feb 2010 21:55:15 GMT
Proxy-Connection: keep-alive
Server: Apache-Coyote/1.1
X-Powered-By: JSF/1.2
----------------------------------------------------------
Delete filter OK
<filter>
<filter-name>trinidad</filter-name>
<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>trinidad</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
Similar Messages
-
Http error 404 when accessing facebook pages
HI there
I have read a few of the previous help requests and tried to turn my mobile netwok off and on and a hard reboot, but I still can't access facebook pages via an email link. I get a message about a reply say to a comment and when I click through I just get the above error message.
I'd be very grateful if someone could send me suggestions to resolve this. In simple terms if poss as although I'm fairly computer literate some of the ideas have gone over my head!
I have a blackberry curve 8520. I use virgin/orange. Not sure if you need this v5.0.0.681 Facebook is version 2.0.0.58
Thank youHi dear BB User
I use BB 9900 since 1 Month and i really have alot of Problem and this is one of the problem that you said but i can help you out with this.
first if you use Wi Fi and in the same time you need your Phone network also with that otherwise it is not gonna work and if you turn off your phone network so you can do nothing and be carefull dont trap when you do something and you are connected with Wi Fi and in real cost you also in Phone NEtwork i hope it is hope full for you.... -
Hello OPA Expert,
I have a projected created which I can build successfully but when I am click on Build and Run option from the build menu. I am getting following error on the web page :
HTTP Status 404 -
type Status report
message
description The requested resource () is not available.
ApacheTomcat/5.5.35 error
Please help in correct this so that I can see the output or the screen which I have created.
Thanks and Regards,
AdityaThe project is just the default code you get when you create a new project?
Have you tried creating a new project and running it to see if the problem changes?
HAve you tried runnign a clean and then a build?
If you've done that and it still crashes create a new user, log into that account and try Xcode. Does it crash in the new user account also?
If it runs as the new user something in your environment is causing the problem. If it crashes as the new user also then it is a system wide issue. In this case I'd try a re-install of Xcode first.
post back with the results.
regards -
HTTP Status 404 error for FIORI Application deployed on HCP
Hello Experts,
I have created a Fiori App using Web IDE and deployed it on my trial account of HCP .
The Gateway service used is from On Premise system. I have used SAP Cloud Connector to connect Hana cloud Platform and on premise system.
In Web IDE test application works fine. However, when I deploy it and access the application URL I am getting the error "HTTP Status 404" as shown in the screenshot.
In Chrome Developer Console shows below error
"Failed to load resource: the server responded with a status of 404 (Not Found)". I have checked many threads but could not find the solutions.
Thanks and Regards,
AshikDoes your firoi app have index.html file ? If yes, is it placed in the root folder of your app ?
I guess you're missing out the index.html in your fiori app. You may be having Component.js as the entry point which will run only with Fiori launchpad. But to run fiori app as standalone, you need to create the index.html file.
You can try accessing your component.js file by adding a '/Component.js' at the end of the url to know if you're app has been deployed properly as of now.
-Sakthivel -
HTTP Status 404 - /B1iXcellerator/index.htm
Dear All,
I am always getting an error whether it be 2005B or 2007B when I am using SAP Business One integration platform > Control Center as follows :
''To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options''
The I click and select Allow Blocked content and I then get the page displayed as error as under :
HTTP Status 404 - /B1iXcellerator/index.htm
type Status report
message /B1iXcellerator/index.htm
description The requested resource (/B1iXcellerator/index.htm) is not available.
Apache Tomcat/5.5.20
Please help me out as to what might be the problem as I am running from pillar to post for solving it.
Your guidance and help would be highly appreciated.
Regards,
KamleshHi,
Try this, in internert explorer Tools->INternet options security tab select interner and click on custom level. Now here enable all the things and check if it helps.
Vasu Natari. -
"workflow.asmx" method The request failed with HTTP status 404: Not Found.
When consuming workflow.asmx webservice from , I am getting an error on below line number 3.
1.POC.SPasmxWF.Workflow objSPasmxWF = new POC.SPasmxWF.Workflow();
2.objSPasmxWF.Credentials = System.Net.CredentialCache.DefaultCredentials;
3. XmlNode dataNode = objSPasmxWF.GetWorkflowDataForItem("http://in-mum01:7000/sites/PPP/2014-0002/PPPLibrary/GBL-IQ00120140008.doc");
Error details: {"The request failed with HTTP status 404: Not Found."} " at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean
asyncCall)\r\n at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)\r\n at POC.SPasmxWF.Workflow.GetWorkflowDataForItem(String item) in E:\ERT\\Web References\\SPasmxWF\\Reference.cs:line 234\r\n
at POC.Program.Main(String[] args) in E:\\POC\\POC\\Program.cs:line 27\r\n at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)\r\n at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()\r\n at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)\r\n at System.Threading.ThreadHelper.ThreadStart()"Hi,
For a better troubleshooting, I suggest you to do as follows:
1. On server side you can access the Workflow.asmx from IE to make sure there are no problems in code logic.
2. On client side you can also access Workflow.asmx from IE to see if it returns error.
3. Check the link below:
http://www.mail-archive.com/[email protected]/msg02092.html
If you want to operate the workflow in Client-Side, we can use Client Object Model in SharePoint 2010 to achieve it.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.workflow(v=office.14).ASPX
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support -
HTTP STATUS 404 Msg While Starting CMS
Hi Gurus,
First, I installed the BOBJ XI 3.0 Ent. on Windows 2K3 , Next Installed the Admin Package for the Tomcat 5.5.20 , Next Uninstalled the XI 3.0 as CR 2008 Installation was not done, prior to installing the SAP XI 3.0 Integration Kit.
So,
After uninstalling my SAP XI 3.0 Int. Kit for BOBJ [ followed the following procedures per the
installation guide after uninstalling it i.e. i) Run the batch file partnercafuninstall.bat ii) Delete 2 Files : SAP.Properties, PartnerPlatformServices.Properties from the InstallDIR\deployment\apps iii) Deleted
CeCore.jar file manually AFTER Switching of the Tomcat55, as this command ( per guide!! ) ]
wdeploy.bat Tomcat55 -DAPP=CmcApp -Das_admin_password=<my_password> undeploy
gave the msg that ' file is in use ' .
Now, that I have installed the CR 2008, while I try to launch the CMS, I get the following msg :
HTTP Status 404 - /PlatformService/service/app/timeout.do
Type : Status Report
message : "The Requested Resource { /PlatformServices/service/app/timeout.do} is not available.
Next > I restored that PartnerPlatformServices.Properties + SAP.Properties file and I STILL have this same message.
Pl. help...
Thanks,
Regards,
- IshanHi Ishan,
If you look in the Tomcat logs it should give you an error message. There should be an error when you restart Tomcat.
I have found that uninstalling a sp leaves the resources unavailable. Normally, a redeploy sorts it out.
Regards
Alan -
HTTP Status 404 - //PartnerPlatformService/actionAuthFilter.do in
Hello,
I installed BO Integration kit FixPack 3.6 on top of SP3. After when I'm trying to access CMC application an error message
"HTTP Status 404 - //PartnerPlatformService/actionAuthFilter.do in " is displayed. I tried deleting Partner Platform Services folder from Tomcat Webapps folder and redeployed it, but it did not solve the problem. Later I cleared all the folders from Webapps and redeployed them which did not help me either. As a last resort I uninstalled Fixpack and reinstalled it but that too didnt resolve this issue.
Is there anything else that can be done to resolve this issue ?
Thanks
JohnHi,
Thanks for the reply.
Though these SAP Notes do not specifically apply to my issue they talk about the same error.
In the first note resolution, it talks about deploying two SAP.rar and Partner Platform Service.rar into the application server.
Where should I copy these files exactly, I mean in which folder?
Deploy SAP.war and PartnerPlatformService.war to Application Server and you should be able to navigate through InfoView.
Thanks
John -
I have a web page that contains a ReportViewer control. I am trying to display a report, which is an .rdl file located on the SSRS server, in this ReportViewer control. I have set the ReportPath and ReportServerUrl correctly. I am
getting an error message.
Am I suppose to use an .rdlc file rather than a .rdl file? Does the web server configuration need to use a certain account?
I am getting the following error message:
The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
The request failed with HTTP status 404: Not Found.Hi bucaroov,
The error "The request failed with HTTP status 404: Not Found." means the ReportServerURL configured in the ReportViewer control is invalid.
Please follow these steps to solve the issue:
Logon the Report Server machine.
Open the Reporting Services Configuration Manager.
Copy the Report Server URL from 'Web Services URL'.
Logon the application server(in this case, it is the server that host the web page), check if we can use the URL we got from step 3 to access the Report Server. If so, please replace the ReportServerURL in the ReportViewer control with this URL. If it is
not available, could you please post the error message.
Additionaly, we don't need to provide the extension for a server report. The ReportPath should be like: /<reports folder>/<report name>
For more information, please see:
Walkthrough: Using the ReportViewer Control in Remote Mode:
http://msdn.microsoft.com/en-us/library/ms251669(VS.80).aspx
If you have any more questions, please feel free to ask.
Thanks,
Jin Chen
Jin Chen - MSFT -
The request failed with HTTP status 404: Not Found
Hi
BPC version we are using is : 5.0.502
When we Publish all reports using the steps below:
a. Log into BPC Web
b. Click on Available Interfaces> Select BPC for Administration
c. Under Web Admin Task Click Publish Reports
d. Select all of the reports and click the green check mark to publish the
reports.
I am getting following message 'System.Exception: The request failed with HTTP Status 404: Not Found. Event log relation to this error is given below.
Event Type: Error
Event Source: OutlookSoft log
Event Category: None
Event ID: 0
Date: 12/8/2008
Time: 11:26:42 AM
User: N/A
Computer: BPCAPP
Description:
==============[System Error Tracing]==============
[System Name] : OSoftCPM
[Message Type] : ErrorMessage
[Job Name] : AuditMgrService/SetAuditReportFiles
[DateTime] : 12/8/2008 11:26:42 AM
[UserId] : MMPlanning
[Exception]
DetailMsg : {The request failed with HTTP status 404: Not Found.}
==============[System Error Tracing End ]==============
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.
We tried ' Publish all reports' as the resolution of error 'object variable or with block variable not set' on modifying an application as per sap note Note 1131320
If anyone knows the resolution for the above issue, please help me.
Thanks in advance
Sajeev AbrahamHi
Thanks for the response.
Below are the full contents of the error message pop-up.
( System.Expection: the reguest failed with HTTP status 404:Not found at
Microsoft.Visualbasic.CompierServices.lateBinding.LateGet(Object o, Type,String name, Object
[]args,sTRING[]paramnames, Boolen[]CopyBack)
at OSoft.Services.WebServices.ReportmanageProxy.ReportManageProxy.SetPubishReport(String strAppSet,string
strApp,string strFiter)
url is given below
http://<HostName>/osoft/Admin/WebAdminMain.aspx
BPC Deployment is Multiple server ( Two servers) Database and Application deployed seperately.
Sql Reporting server is working.. I could connect using sql management studio.
Thanks -
'System.Exception: The request failed with HTTP Status 404
Hi
BPC version we are using is : 5.0.502
When we Publish all reports using the steps below:
a. Log into BPC Web
b. Click on Available Interfaces> Select BPC for Administration
c. Under Web Admin Task Click Publish Reports
d. Select all of the reports and click the green check mark to publish the
reports.
I am getting following message 'System.Exception: The request failed with HTTP Status 404: Not Found. Below are the event log relation to this error.
Event Type: Error
Event Source: OutlookSoft log
Event Category: None
Event ID: 0
Date: 12/8/2008
Time: 11:26:42 AM
User: N/A
Computer: BPCAPP
Description:
==============[System Error Tracing]==============
[System Name] : OSoftCPM
[Message Type] : ErrorMessage
[Job Name] : AuditMgrService/SetAuditReportFiles
[DateTime] : 12/8/2008 11:26:42 AM
[UserId] : MMPlanning
[Exception]
DetailMsg : {The request failed with HTTP status 404: Not Found.}
==============[System Error Tracing End ]==============
We tried ' Publish all reports' as the resolution of error 'object variable or with block variable not set' on modifying an application as per sap note Note 1131320
If anyone knows the resolution for the above issue, please help me.
Thanks in advance
Sajeev AbrahamHi,
This forum is for BI Integrated planning an BW/SEM BPS. For BPC related questions please post this message in the forum for Enterprise Performance Management (Enterprise Performance Management (SAP EPM)).
Best regards,
Gerd Schoeffl,
SAP NetWeaver RIG BI -
Hi,
I have installed ESB Management Portal successfully after following all the steps. everything is working fine except when I click the Registry menu in the portal. I get an unhandled exception. The event viewer shows the below error "The request failed
with HTTP status 404: Not Found."
================================================
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/27/2015 5:56:10 PM
Event time (UTC): 1/27/2015 5:56:10 PM
Event ID: f7aedd39118845b79c17d3442a0d15a7
Event sequence: 54
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/ESB.Portal-1-130668549484455107
Trust level: Full
Application Virtual Path: /ESB.Portal
Application Path: C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\
Machine name: <Machine Name>
Process information:
Process ID: 4712
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: TargetInvocationException
Exception message: Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The request failed with HTTP status 404: Not Found.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Practices.ESB.Portal.UDDIService.UDDIService.GetCategoryByName(String UDDIServerUrl, String tModelName) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Web References\UDDIService\Reference.cs:line
575
at Microsoft.Practices.ESB.Portal.Uddi.ServiceProxy.getBTEndpoints(String applicationName, Boolean getSendPorts, Boolean getRcvLocations) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Uddi\ServiceProxy.cs:line
553
at Microsoft.Practices.ESB.Portal.Uddi.ServiceProxy.GetEndpointsByApplication(String applicationName, Boolean getSendPorts, Boolean getRcvLocations) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Uddi\ServiceProxy.cs:line
46
Request information:
Request URL: http://localhost/ESB.Portal/uddi/uddi.aspx
Request path: /ESB.Portal/uddi/uddi.aspx
User host address: ::1
User: <domain>\<user>
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 19
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
=================================
Any idea why this is happening and what needs to be done ?
PLEASE HELP
Thanks & Regards
VikramSnippet from the link below:
If you get a “404: Not Found” error, it ‘s because by default there is no script map for .svc file with default IIS 7.0 installation, so you need to register .svc extension in IIS:
You need to update IIS script maps to register .svc extension In a command prompt (ran as administrator), execute the following command:
“%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe” -r -y"
Refer:
https://dgoins.wordpress.com/2010/05/01/esb-toolkit-management-portal-installation-notes-from-the-field-2/
Sarvanan's blog around this with detailed explanation:
Configuring Exception Management Portal
As mentioned above also
Check Portal Configuration Settings
Rachit
Please mark as answer or vote as helpful if my reply does -
Problems with Tomcat 5.5 and 6 - HTTP Status 404
I'm trying to make this simple "*Hello World*" Application from here
When I try to run the application.
From Tomcat:
HTTP Status 404 -
type Status report
message
description The requested resource () is not available.
Apache Tomcat/5.5.27From Intellij:
cmd /c C:\tomcat\bin\catalina.bat run
Using CATALINA_BASE: C:\Documents and Settings\User\.IntelliJIdea8x\system\tomcat\Unnamed_FirstProject994ff1db1
Using CATALINA_HOME: C:\tomcat
Using CATALINA_TMPDIR: C:\tomcat\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.6.0_13
18.05.2009 11:32:59 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path:
C:\Program Files\Java\jdk1.6.0_13\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\Java\jdk1.6.0_13\bin\;
18.05.2009 11:33:00 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
18.05.2009 11:33:00 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2939 ms
18.05.2009 11:33:00 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
18.05.2009 11:33:00 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
18.05.2009 11:33:03 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Parsing configuration file [struts-default.xml]
18.05.2009 11:33:04 org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
18.05.2009 11:33:04 org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
18.05.2009 11:33:06 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
18.05.2009 11:33:06 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
18.05.2009 11:33:06 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/187 config=null
18.05.2009 11:33:06 org.apache.catalina.startup.Catalina start
INFO: Server startup in 6415 ms
Connected to serverI don't know what should I exclude from the log file, so I will leave the whole thing:
[Filefront Link|http://files.filefront.com/localhost2009+05+18log/;13773865;/fileinfo.html]
Some lines from the log:
SEVERE: Exception starting filter Struts 2 filter
Unable to load configuration. - bean - jar:file:/C:/Documents%20and%20Settings/user/My%20Documents/NetBeansProjects/WebApplication2/build/web/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:46:178
Caused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/C:/Documents%20and%20Settings/user/My%20Documents/NetBeansProjects/WebApplication2/build/web/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:46:178
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException
Caused by: java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileUploadExceptionEdited by: asemenea on May 18, 2009 2:22 AM -
HTTP Status 404 (not again)
For some reason, don't know why, I'm running my ANT script and below is the message I get.
When I try to view the URL at: http://localhost:8080/OnlineRegistration/
I get the unpleasant message:
HTTP Status 404 - /OnlineRegistration/
type Status report
message /OnlineRegistration/
description The requested resource (/OnlineRegistration/) is not available.
Does anyone have any idea what's wrong? The ant script has been working great in the past 3 months!
Also, when I manually copy-pate the entire directory from my dev folder to the webbapps - it works ok (!?!?!?!)
Anyone?
Buildfile: C:\eclipseProjects\OnlineRegistration\build.xml
clean:
[delete] Deleting directory C:\eclipseProjects\OnlineRegistration\build\share
[delete] Deleting directory C:\eclipseProjects\OnlineRegistration\dist
[mkdir] Created dir: C:\eclipseProjects\OnlineRegistration\build\share
[mkdir] Created dir: C:\eclipseProjects\OnlineRegistration\dist
[echo] Apache Ant version 1.6.5 compiled on June 2 2005
[echo] Java version 1.5
compile-domain:
[javac] Compiling 22 source files to C:\eclipseProjects\OnlineRegistration\build\share
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: C:\eclipseProjects\OnlineRegistration\WEB-INF\src\com\struts\security\StartupManager.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
build-war:
[war] Building war: C:\eclipseProjects\OnlineRegistration\dist\OnlineRegistration.war
deploy:
[copy] Copying 1 file to C:\Tomcat\webapps\OnlineRegistration
reload:
[reload] OK - Reloaded application at context path /OnlineRegistration
tomcat-start-debug:
[echo] debug mode...
[java] Listening for transport dt_socket at address: 8000
[java] Oct 15, 2006 11:44:28 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
[java] INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\Roxio Shared\DLLShared\;;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Tomcat\common\lib\servlet-api.jar;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Sun\AppServer\bin;C:\_download\SSH\_afterSetup;
[java] Oct 15, 2006 11:44:28 AM org.apache.coyote.http11.Http11BaseProtocol init
[java] SEVERE: Error initializing endpoint
[java] java.net.BindException: Address already in use: JVM_Bind:8080
[java] at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
[java] at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:138)
[java] at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
[java] at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
[java] at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
[java] at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
[java] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
[java] Oct 15, 2006 11:44:28 AM org.apache.catalina.startup.Catalina load
[java] SEVERE: Catalina.start
[java] LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
[java] at org.apache.catalina.connector.Connector.initialize(Connector.java:1018)
[java] at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
[java] at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
[java] at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
[java] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
[java] Oct 15, 2006 11:44:28 AM org.apache.catalina.startup.Catalina load
[java] INFO: Initialization processed in 1140 ms
[java] Oct 15, 2006 11:44:28 AM org.apache.catalina.core.StandardService start
[java] INFO: Starting service Catalina
[java] Oct 15, 2006 11:44:28 AM org.apache.catalina.core.StandardEngine start
[java] INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
[java] Oct 15, 2006 11:44:28 AM org.apache.catalina.core.StandardHost start
[java] INFO: XML validation disabled
[java] Oct 15, 2006 11:44:29 AM org.apache.catalina.core.ApplicationContext log
[java] INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
[java] Oct 15, 2006 11:44:29 AM org.apache.catalina.core.ApplicationContext log
[java] INFO: ContextListener: contextInitialized()
[java] Oct 15, 2006 11:44:29 AM org.apache.catalina.core.ApplicationContext log
[java] INFO: SessionListener: contextInitialized()
[java] log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
[java] log4j:WARN Please initialize the log4j system properly.
[java] Oct 15, 2006 11:44:31 AM org.apache.catalina.core.ApplicationContext log
[java] INFO: ContextListener: contextInitialized()
[java] Oct 15, 2006 11:44:31 AM org.apache.catalina.core.ApplicationContext log
[java] INFO: SessionListener: contextInitialized()
[java] log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
[java] log4j:WARN Please initialize the log4j system properly.
[java] Oct 15, 2006 11:44:31 AM org.apache.coyote.http11.Http11BaseProtocol start
[java] SEVERE: Error starting endpoint
[java] java.net.BindException: Address already in use: JVM_Bind:8080
[java] at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
[java] at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312)
[java] at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:150)
[java] at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:75)
[java] at org.apache.catalina.connector.Connector.start(Connector.java:1089)
[java] at org.apache.catalina.core.StandardService.start(StandardService.java:459)
[java] at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
[java] at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
[java] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
[java] Oct 15, 2006 11:44:31 AM org.apache.catalina.startup.Catalina start
[java] SEVERE: Catalina.start:
[java] LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080
[java] at org.apache.catalina.connector.Connector.start(Connector.java:1096)
[java] at org.apache.catalina.core.StandardService.start(StandardService.java:459)
[java] at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
[java] at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
[java] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
[java] Oct 15, 2006 11:44:31 AM org.apache.catalina.startup.Catalina start
[java] INFO: Server startup in 3453 ms
[java] Oct 15, 2006 11:44:31 AM org.apache.catalina.core.StandardServer await
[java] SEVERE: StandardServer.await: create[8005]:
[java] java.net.BindException: Address already in use: JVM_Bind
[java] at java.net.PlainSocketImpl.socketBind(Native Method)
[java] at java.net.PlainSocketImpl.bind(Unknown Source)
[java] at java.net.ServerSocket.bind(Unknown Source)
[java] at java.net.ServerSocket.<init>(Unknown Source)
[java] at org.apache.catalina.core.StandardServer.await(StandardServer.java:372)
[java] at org.apache.catalina.startup.Catalina.await(Catalina.java:615)
[java] at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
[java] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 13 secondsDoes anyone have any idea what's wrong? The ant script has been working great in the past 3 monthsHow many times have I wondered something similar...
The basic fact is that the ant build file will take input and generate output. The past three months the input has been fine, but now "something" is breaking "something". So:
does /onlineRegistration point to an index.htm/index.html/index.jsp file? Does it exist after the deployment?
Are you using precompiled JSP's by any chance and perhaps that is blowing up? -
Servlet doPost() method and "HTTP Status 404 - /HelloPost" error
hi all
i've a problem with doPost(...) method. i use Tomcat4.1 version and in root folder i store Form.html where i use a doGet() method and in WEB-INI>>classes i store Hello.class file for doGet() method. it works normally. but when i write a Form1.html for doPost() method with "<FORM METHOD=POST ACTION="/HelloPost">" line and store as same folder as Form.html and HelloPost.class in WEB-INI>>classes folder. its not working and showing a error
"HTTP Status 404 - /HelloPost"
error type =Status error.
message=/HelloPost
description =The requested resource (/HelloPost) is not available
if anyone of u know what the problem is.. then plz inform me... it will help me a lot to learn servlet.
thnx a lot
ArifYour post is very hard to read. The next time try to be more accurate.
i store Form.html where i use a doGet() method That makes no sense.
I think you have a form with method="GET"
and in WEB-INI>>classes i store Hello.class file for doGet() method. you have a Servlet called Hello which handles doGet(Request, Response) calls and whose class file you've put into WEB-INF/classes
but when i write a Form1.html for doPost() method with "<FORM METHOD=POST ACTION="/HelloPost">" line and store as same folder as Form.html and HelloPost.class in WEB-INI>>classes folderIt's not enough to put a class file which has the same name as the action of your form into the folder WEB-INF/classes. The class must implement the (Http)Servlet Interface and you have to configure the servlet in the web.xml file.
From where did you get the working Hello example code ?
Look at the Chapter 11: Java Servlet Technology of the J2EE 1.4 Tutorial to learn how to write Servlets.
Maybe you are looking for
-
Firefox can't find the server at playfi.sh
every time that I try to click on a link for Playfish free gifts for apps that I play through Facebook or through an email to a link being offered by Playfish, I get the following message: Server not found Firefox can't find the server at playfi.sh.
-
With 20DB boost, mic input comes out from speaker - SB X-Fi XtremeMusic
If? +20DB boost is turned on, michrophone input or my voice comes out from the speakers even "Listen to this device" is unchecked on the Sound setting. If I start playing music by WMP under this condition and raise tthe speaker volume above certain l
-
I uploaded pictures to iPhoto library, I was attempting to share one picture (out of 350!) and computer froze for over 5 minutes. I did a "force quit" and when I reopend iPhoto all pictures were gone. The library shows the events I created but when
-
Combining itunes libraries????
I own 2 iphones, each contains different libraries. is it possible to combine both libraries into one under the same itunes acct?
-
Sun Cluster Core Conflict - on SUN Java install
Hi We had a prototype cluster that we were playing with over two nodes. We decided to uninstall the cluster by putting node into single user mode and running scinstall -r. Afterwards we found that the Java Availability Suite was a little messed up -