Tomcat running error: Application not found - java

I created a simple Spring application, and run it using Tomcat 8.5.39.
It works nice in my PC but when I run it in my notebook, it open an error window:
It doesn't open browser window with error even, just start local server,
and open this error win after:
2019-04-05 05:41:04,084] Artifact SpringgMVC:war exploded: Artifact is
deployed successfully
[2019-04-05 05:41:04,085] Artifact SpringgMVC:war exploded: Deploy took
6 042 milliseconds

Slowed!!!
If you set up your tomcat like in any instruction, and see this message, it can be that you didn't set an browser in tomcat configuration
Click on browser icon and set your browser instead of default, it works for me.

Related

/root/Desktop/SEG3502/BookStoreAppV1/nbproject/build-impl.xml:1045: The module has not been deployed. See the server log for details

Can anybody help me with this please?
Whenever I run my application, I get the following error :
Starting GlassFish Server
GlassFish Server is running.
In-place deployment at /root/Desktop/SEG3502/Lab3/build/web
GlassFish Server, deploy, null, false
/root/Desktop/SEG3502/Lab3/nbproject/build-impl.xml:1045: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 58 seconds)
First undeploy any previous version of your app, stop glassfish server, clean and build the current version and start/deploy again.

build-impl.xml:1045: The module has not been deployed error

Trying to setup glassfish server for netbeans. I started the server and ran the project(default web project) and it gives this error:
In-place deployment at C:\Users\Michael\Desktop\WebApplication2\build\web
GlassFish Server, deploy, null, false
C:\Users\Michael\Desktop\WebApplication2\nbproject\build-impl.xml:1045:
The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 0 seconds)
edit: server log: https://justpaste.it/u702
Become owner of the Tomcat directory.. On Linux or BSD do this:
chown -R username /usr/local/apache-tomcat-8.0/
To show how's use the command ls-l
He was root now will show your username.
*check in which path to the directory's Tomcat on your distro.

Netbeans can´t deploy a Java web application with TomEE plus 1.7.1 on windows 10

I have this problem and I can´t solve it.. netbeans 8.0.2 can´t deploy a Java Web Application with TomEE Plus 1.7.1 server. I´ve tried with another server and it works (Tomcat 8.0.15.0 for example) but I can´t use it because I need TomEE for RESTful web services.
The problem when I try to run the applicaction the error is the next:
Starting Tomcat process...
Waiting for Tomcat...
Tomcat server started.
In-place deployment at C:\Users\Gilbert\Documents\NetBeansProjects\Prem\build\web
deploy?config=file%3A%2FC%3A%2FUsers%2FGilbert%2FAppData%2FLocal%2FTemp%2Fcontext644445905444534523.xml&path=/Prem
http://localhost:80/manager/text/deploy?config=file%3A%2FC%3A%2FUsers%2FGilbert%2FAppData%2FLocal%2FTemp%2Fcontext644445905444534523.xml&path=/Prem
C:\Users\Gilbert\Documents\NetBeansProjects\Prem\nbproject\build-impl.xml:1046: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 45 seconds)
Note, apparently the server is running but when I go to localhost:80/ (this is the port I choose) it shows an error 404.
help me please, thanks

java 8 with Glassfish 4.1 Artifact HelloWorld:war exploded: Server is not connected. Deploy is not available

I create a simple java web service project in intellij idea and configured the glassfish 4.1 server. and just run the application. output window shows the following messages
C:\glassfish4\glassfish\bin\asadmin.bat start-domain domain1
Attempting to start domain1.... Please look at the server log for more details.....
[2015-06-10 01:35:00,667] Artifact HelloWorld:war exploded: Server is not connected. Deploy is not available.
Detected server admin port: 4848
Detected server http port: 8080
server is running fine. but webservice is not deployed. can anyone help me.
I use java 8. intellij 14, glassfish 4.1 and windows 8.1
I followed following posts, but none of these are helps me.
post one , post two , post 03, post 04
I spend last two day to find an answer, please help me.
Check your Facets and your Artifacts are all right. Facets must have web deployment description and Web Resource description, the absolute path is all right.
Check the Artifact output directory, make directories:
WEB-INF/class/{your compile output},
the resource directory for example web app directory content.
I think the IntelliJ use ant as it's deployment tools, then you can image how it work, just denote the path the project need

Jenkins: Deploying Job to Tomcat server

I used the following tutorial to Deploy a Jenkins Job to Tomcat server:
http://macgyverdev.blogspot.nl/2014/02/how-to-make-jenkins-install-packaged.html.
The build finishes succesvol except it doesn't actually deploy the job to tomcat.
I don't understand what has to be filled in the textboxes "War/Ear file" and "Context Path"
This is what i have now:
Console output after build says "Finished: Succes" but doesn't actually include the following lines:
Deploying /home/johan/.jenkins/jobs/UnitConversion/workspace/target/Unitconversion.war to container Tomcat 7.x Remote
Redeploying [/home/johan/.jenkins/jobs/UnitConversion/workspace/target/Unitconversion.war]
Undeploying [/home/johan/.jenkins/jobs/UnitConversion/workspace/target/Unitconversion.war]
Deploying [/home/johan/.jenkins/jobs/UnitConversion/workspace/target/Unitconversion.war]
What am i doing wrong?

Categories

Resources