This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268979 - Netbeans 8.1 won't deploy application to Tomcat 8.
Summary: Netbeans 8.1 won't deploy application to Tomcat 8.
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 8.1
Hardware: Macintosh Unix
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-14 18:28 UTC by dcorner
Modified: 2016-11-15 07:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dcorner 2016-11-14 18:28:46 UTC
Running Centos 7 on a VMWare VM hosted on MACOS 10.11.6.

Application is WebServices (JAX-WS, Jersey) on Tomcat 8.

Tomcat was installed separately under /opt.  Netbeans is also under /opt.  Both run under my user account and the account has access to all files.

Netbeans won't deploy the war file to Tomcat ($CATALINA_HOME/webapps).  The .war file is not copied to the webappa folder.  If I deploy manually the debugger starts fine.  The "undeployment" doesn't delete the old file and the deployment doesn't copy the file to my director or to anywhere else on the system.

The context.xml file reflects the proper location and Services/Apache Tomcat or TomEE/ properties shows the proper location for the files and the /Web Applications on the same menu shows an accurate picture of the applications deployed.

The debug log has the following:

NetBeans: Deploying on Apache Tomcat or TomEE
    profile mode: false
    debug mode: true
    force redeploy: true
Starting Tomcat process...
Waiting for Tomcat...
Tomcat server started.
Undeploying ...
undeploy?path=/%24CATALINA_HOME/webapps
OK - Undeployed application at context path /$CATALINA_HOME/webapps
In-place deployment at /home/bmluser/NetBeansProjects/BMLServer/target/BMLServer
Deployment is in progress...
deploy?config=file%3A%2Ftmp%2Fcontext6835681192103153157.xml&path=/%24CATALINA_HOME/webapps
OK - Deployed application at context path /$CATALINA_HOME/webapps
Start is in progress...
start?path=/%24CATALINA_HOME/webapps
OK - Started application at context path /$CATALINA_HOME/webapps