FAIL - Deployed application at context path / but context failed to start

Keeper01 :

Im working in 2 separate webapplications a back and front app. The funny thing is when I run the back-end I don't have any issues. But in the front-end I get the following error:

I have the following error in Netbeans 

NetBeans: Deploying on Apache Tomcat or TomEE
    profile mode: false
    debug mode: false
    force redeploy: true
Undeploying ...
undeploy?path=/
OK - Undeployed application at context path /
In-place deployment at D:\WebDevel\WebStore\WebFrontE\target\Web-1.0-SNAPSHOT
Deployment is in progress...
deploy?config=file%3A%2FC%3A%2FUsers%7E1%2FAppData%2FLocal%2FTemp%2Fcontext7815575477480252472.xml&path=/
FAIL - Deployed application at context path / but context failed to start

Both are running on the same Tomcat. my colleague has the same code and it works fine :-s

K139 :

Context Path (or) Context Root must be unique for each application deployed on the server.

So you can't deploy two applications with same context root to the same server. It seems for both of your applications the context path is /.

Check server.xml to see what context path both of them have. If they are not unique, then change them to solve the problem.

But if you want the same context root for both applications, then you need to deploy them in two different servers.

For more information: Tomcat Context paths configuration

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

SpringBoot Application Context does not start due to Unsatisfied dependency

How is the context path set in a Java web application?

Add context path to Spring Boot application

FAIL - Failed to deploy application at context path /ROOT. Deploy plugin of jenkins failling to deploy

Context path for web application on Glassfish 3.1.2.2

COPY failed: Forbidden path outside the build context

application can't start if add implementation of AbstractSecurityWebSocketMessageBrokerConfigurer in context

server.port and server.context-path not taking effect when deployed to tomcat

Why does "activator start" fail with "Bad application path"?

Beginning Spring, "Application failed to start with classpath", "Error starting Tomcat context", and other errors

How to have JavaMailSender not fail the application context loading on a wrong mail password?

Double slash in context path in Websphere Application Server

append application context path to the hyperlink in spring boot application

docker-compose - ADD failed: Forbidden path outside the build context

Start and shutdown Spring application context in a unit test

FAIL - Application at context path /my_app could not be started

FAIL - Application at context path /icescrum could not be started

Loading context after application context

Root Context path in spring application

Application Context Path without Web Request

Spring ContextConfiguraion failed to load Application Context

Spring application deployed but context fails to start

Tomcat application 404 could not load - application at context path could not be started

activity context vs application context

JUnit4 failed to load application context

Spring-boot CRUD application failed to start with "error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependency

Docker, COPY failed: forbidden path outside the build context

Exception to Context Path in Spring Boot Application

Spring Boot Failed to load Application context error

TOP Ranking

  1. 1

    Failed to listen on localhost:8000 (reason: Cannot assign requested address)

  2. 2

    Loopback Error: connect ECONNREFUSED 127.0.0.1:3306 (MAMP)

  3. 3

    How to import an asset in swift using Bundle.main.path() in a react-native native module

  4. 4

    pump.io port in URL

  5. 5

    Compiler error CS0246 (type or namespace not found) on using Ninject in ASP.NET vNext

  6. 6

    BigQuery - concatenate ignoring NULL

  7. 7

    ngClass error (Can't bind ngClass since it isn't a known property of div) in Angular 11.0.3

  8. 8

    ggplotly no applicable method for 'plotly_build' applied to an object of class "NULL" if statements

  9. 9

    Spring Boot JPA PostgreSQL Web App - Internal Authentication Error

  10. 10

    How to remove the extra space from right in a webview?

  11. 11

    java.lang.NullPointerException: Cannot read the array length because "<local3>" is null

  12. 12

    Jquery different data trapped from direct mousedown event and simulation via $(this).trigger('mousedown');

  13. 13

    flutter: dropdown item programmatically unselect problem

  14. 14

    How to use merge windows unallocated space into Ubuntu using GParted?

  15. 15

    Change dd-mm-yyyy date format of dataframe date column to yyyy-mm-dd

  16. 16

    Nuget add packages gives access denied errors

  17. 17

    Svchost high CPU from Microsoft.BingWeather app errors

  18. 18

    Can't pre-populate phone number and message body in SMS link on iPhones when SMS app is not running in the background

  19. 19

    12.04.3--- Dconf Editor won't show com>canonical>unity option

  20. 20

    Any way to remove trailing whitespace *FOR EDITED* lines in Eclipse [for Java]?

  21. 21

    maven-jaxb2-plugin cannot generate classes due to two declarations cause a collision in ObjectFactory class

HotTag

Archive