Ahmed Magdy Ibrahim
Ahmed Magdy Ibrahim

Reputation: 115

build-impl.xml:1045: Deployment error: Starting of Tomcat failed

I just installed apache tomcat 8 and this error appears with I try to start the server:

C:\Users\Ahmed\Documents\NetBeansProjects\TestWeb\nbproject\build-impl.xml:1045: Deployment error: Starting of Tomcat failed.
See the server log for details.

and the log file is empty.

Here is the line 1045 in build-impl.xml that has the error:

<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>

Upvotes: 2

Views: 19195

Answers (2)

gustavospace
gustavospace

Reputation: 24

You need to change the owner of the Tomcat directory. On Linux or BSD do this:

chown -R username /usr/local/apache-tomcat-8.0/

Make sure to use the path to your Tomcat directory

Upvotes: -1

Ahmed Magdy Ibrahim
Ahmed Magdy Ibrahim

Reputation: 115

I found the solution and I am sharing it so it can be useful for someone else:

If you were searching for a solution you probably found a solution saying to go toC:\apache-tomcat-8.0.36-windows-x64\apache-tomcat-8.0.36\bin then open catalina.bat on Notepad++ and search for set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%" and set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%" and remove the double quotes.

but for some of people this might not be enough you might also need to search for set "JAVA_OPTS=%JAVA_OPTS% %JSSE_OPTS%" and remove the double quotes from here two and the server will run probably.

Upvotes: 6

Related Questions