http 404 error in eclipse - html

got this error when i created a single html page and i have also have another web project in eclipse
HTTP Status 404 - /Angular/
type Status report
message /Angular/
description The requested resource is not available.
Apache Tomcat/7.0.82
HTTP Status 404 - /Angular/
type Status report
message /Angular/
description The requested resource is not available.
Apache Tomcat/7.0.82

When deploying a server in eclipse, ensure that you've added your eclipse project as a web module to the server. To see that on your existing server, double click it, and go to the modules tab.
Now, take note of the path at which you've deployed the module. You may need to change that path to /Angular instead of your eclipse project name.

Related

I'm able to run the Gwt application through eclipse, but once i created a war file and deploying into tomcat server not able to access the gw

I'm able to run the Gwt application through eclipse, but once i created a war file and deploying into tomcat server not able to access the gwt application.
I have created GWT project in eclipse and now i'm able to access the gwt application through IE11 and Chrome(which connects to a server and retrieves data).
I have created war file using ANT build and after deploying war in tomcat9.0.14, when I try to access the application, i'm getting the following error in tomcat logs.
Url:http://servername:8080/migrationService/Migration.html
==========================
Unable to sign off of spurce server. 404 <!doctype html>HTTP Status 404 – Not Foundh1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}HTTP Status 404 – Not FoundType Status ReportMessage /XXXXMigration/XXXXXmigration/migrateServiceDescription The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.Apache Tomcat/9.0.14
can you please help me
The server is reporting a 404 HTTP Status Code which means "page not found". In other words, you have misconfigured the server. It could be that the service is not installed, or is not mapped to /migrationService or the service is unable to find or serve the Migration.html page.
It's not a GWT, Chrome or IE11 problem. It's a server configuration problem.

axis2/c server could not be opened

I'm going to use axis2/c on windows to build a program, but when i click the "axis_http_server.exe" to start up the axis2/c server, nothing happened but a flashing window, i could't see the message "Started Simple Axis2 HTTP Server..." which was seen in the offical tutorial by apache, i've not changed anything but set the System's environment variable which was initial, so how can i open this?
i've turned to the directory axix2c/logs,the details in the axis2.log are as below:
....\src\core\deployment\conf_builder.c(903) Transport sender is NULL for transport http, unable to continue
....\src\core\deployment\conf_builder.c(262) Processing transport senders failed, unable to continue
....\src\core\deployment\dep_engine.c(752) Populating Axis2 Configuration failed
....\src\core\deployment\conf_init.c(64) Loading deployment engine failed for repository ../.
....\src\core\transport\http\receiver\http_receiver.c(126) unable to create private configuration contextfor repo path ../
....\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215) Server creation failed: Error code: 103 :: Failed in creating DLL

Where is Couchbase Sync Gateway AdminUI?

I have already set "adminUI": "0.0.0.0:4985/_admin/" in my config. I still get 404 page not found when going to the endpoint (e.g. http://<host IP>:4985/_admin/).
This is the description of the config line adminUI from http://developer.couchbase.com/documentation/mobile/1.2/develop/guides/sync-gateway/configuring-sync-gateway/config-properties/index.html
URL of the Sync Gateway Admin Console HTML page. The default is the bundled Sync Gateway Admin Console at localhost:4985/_admin/.
I got this hint from https://github.com/couchbase/sync_gateway/blob/aba088a902b162bcaed745510f4d012b8908a303/rest/config.go#L64
AdminUI *string `json:",omitempty"` // Path to Admin HTML page, if omitted uses bundled HTML
I omitted the line "adminUI": "0.0.0.0:4985/_admin/" from the config file to get the bundled Couchbase Sync Gateway Admin UI HTML page.

Exporting CEP definition file from the authoring tool to an (external) repository

We are having problems with the exporting of the CEP definition file from the authoring tool to an (external) repository.
In the response preview from the developer tools of the browser we get the following error message:
"HTTP Status 500 - A javax.ws.rs.ext.MessageBodyReader implementation was not found for class org.apache.wink.json4j.JSONArray type and text/html;charset=utf-8 media type. Verify that all entity providers are correctly registered. Add a custom javax.ws.rs.ext.MessageBodyReader provider to handle the type and media type if a JAX-RS entity provider does not currently exist."
How can we make sure we are able to export to an external repository?
Your problem is that the external repository is not available.
Since you didn't mention this, my guess is that you are using the default external repository which is http://localhost:8080/ProtonOnWebServerAdmin/resources/definitions
but don't have a running instance of ProtonOnWebServerAdmin. You have got to have ProtonOnWebServerAdmin running on a Tomcat server on your local machine for it to actually process the request.
If you're using anything else - make sure that repository knows how to handle the request.

my jboss is running but not found in my web

HTTP Status 404
Blockquote
type Status report
message
description The requested resource (/webname) is not available.
JBoss Web/7.0.13.Final
why this error is shown?
The file you have requested does not exist on the server.
You should check if:
1) The URL is correct
2) The file exists on the server