404 error when deploying spring mvc on jboss 7 - spring-mvc

I am deploying spring mvc project on jboss eap 1.7 open source. Using Java 1.8 version. Post deployment when I hit my application on browser I could see and error as 404 url not found. What needs to be done to resolve this issue.

Related

ASP.Net Core Web API throwing 404 error when published on IIS 10 works without IIS

we are upgrading our servers and moved the asp.net core web api to the new servers with the following framework and runtime versions.
.net framework 4.7
.net core runtime 2.2.6
.net core windows server hosting 2.2.6
IIS URL rewrite Module
Getting a 404 error when trying to browse the application from IIS. Same error from postman too.
But when I run it from VS, I get the swagger screen and am able to post requests and get a response too. I tried uninstalling the runtime and hosting modules changing the apppool settings.
Currently the appPool is set to Networkservice, Unmanaged code, tried all the settings for appPoolIdentity. Nothing worked.
Tried enabling the FailedRequestTracing and this is what I see.
Looking for any helpful advices. thanks

503 “Service Unavailable” error for all apps after installing .NET Core 2.2 Runtime & Hosting Bundle for Windows

I'm developing an angular 7 application with ASP.NET CORE 2.2 and when I deploy it in IIS 8.5 which is a Windows Server 2012 R2, all the web applications host in IIS gives 503 Service Unavailable error and error goes away when I uninstall .NET Core 2.2 Runtime & Hosting Bundle
When I check the event view it shows me the following error:
A listener channel for protocol 'http' in worker process '<ProcessId>' serving application pool '<ApplicationPoolName>' reported a listener channel failure.
Tried online and it was not success anyone has any solution?
It took me more than one day to find a solution for this. Before you install ASP.NET Core/.NET Core: Runtime & Hosting Bundle (latest versions), you need to ensure you have installed Microsoft Visual C++ 2015 Redistributable. in the system.
Installation(ASP.NET Core/.NET Core: Runtime & Hosting Bundle) doesn't say anything if Microsoft Visual C++ 2015 Redistributable is missing.
This helped to fixed the issue that I had. Hope this will help you.

Upgraded Spring MVC portlet throws org.w3c.dom.Document not found exception when deployed in Liferay 7

I'm upgrading Liferay portal from 6.2 to 7. I have upgraded spring MVC portlet so that it can deploy in Liferay 7 server. Resolved some of the exceptions by excluding xercesImpl.jar and xml-apis.jar as mentioned below.
java.util.ServiceConfigurationError: javax.xml.parsers.SAXParserFactory: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not a subtype
When fixed and deployed again, then occurred exception org.w3c.dom.Document not found. It should be recognized from Java JRE's rt.jar but it's not.
Environment:
Windows Laptop
JDK 1.8_181
Liferay 7.0-sp8
HSQL

Critical Error: This server does not appear to have Microsoft XML 4.0 Core Services installed. Object required

I saw this when I run the website project:
Critical Error: This server does not appear to have Microsoft XML 4.0
Core Services installed. Object required
I researched it and downloaded MSXML 4.0 Service Pack 3 (Microsoft XML Core Services) (I tried to install the first one, then run the website, still saw the error, even after I restarted my web browser and computer.)and it's Pack 2 version after I tried the Pack 3.
Interestingly, I uninstalled the IIS URL Rewrite Module 2, it solved this problem.....

WebResource.axd 404 error - windows server 2008 64bit

We Installed new application in our dedicated server. I struggle with an issue for the last few days. I get 404 no found in all WebResource.axd requests.
I have uninstall and install .net 2.0 - I have .net 3.5 installed as well.
using webresource decrypter I found that many JS files, such as WebForms.js generate the erorr.
I check the iis handlers mapping for .axd
I disable http comp.
What else could be?
Switch IIS7 to run in Classic mode.

Resources