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.
Trying to deploy a very simple servlet. .war builds just fine, but when select Run, Debug or Redeploy, get the following in console: init: deps-jar: compile: compile-jsps: do-dist: dist: debug: Stopping server Bundled Tomcat (5.0.28) Stopping Tomcat process... Tomcat server stopped. Starting debug server Bundled Tomcat (5.0.28) Starting Tomcat process... Tomcat server started. In-place deployment not supported Deployment error: null. See the messages.log file for details. C:\Development\NB41EA2\ZipCodeRadius\nbproject\build-impl.xml:336: org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment$DeploymentException: Deployment error: null. See the messages.log file for details. BUILD FAILED (total time: 10 seconds)
Is there a work around suggsted until this can get reviewed? I tried copying the .war into the typical Tomcat folder and it isn't picking up the .war and doing a hot deploy with the bundled Tomcat. I can take the same .war and do the same thing with a seperate version of Tomcat 5 (in another folder structure) and it picks it up and does the deployment just fine as runs as expected; or, if I manually install it into Tomcat it also works as expected.
This could be caused by upgrade of the bundled Tomcat to a 5.5.x version. Could you please try it out with a fresh user dir? If the problem still persists attache the $NB_USERDIR/var/log/messages.log file to this issue. The auto deployment is disabled for the bundled Tomcat by default see the host element in your server.xml file. Please let me know if the new user dir helped.
Created attachment 20325 [details] messages.log
This seems to be a duplicate of issue 55177. *** This issue has been marked as a duplicate of 55177 ***
I'd like to reopen this issue. I'm using the Sun App Server and, based on a tip on the mailing list, have enabled "Directory Based Deployment Possible", hoping that it will allow me to develop and debug JSP's and my web service without a full fledged redeployment. When I attempt to deploy (After undeploying the existing webapp), I get the following symptoms: IDE Exception: ------------------------- java.lang.ClassCastException at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:91) [catch] at java.lang.Thread.run(Thread.java:534) The server output shows: ------------------------- nothing. The (run-deply) output window shows: ------------------------- init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: Copying 2 files to C:\Data\Projects\<projdir> Enterprise-war\build\web wscompile-init: ADAccountTools_wscompile: command line: wscompile "C:\Program Files\Java SDK 1.4.2_09\jre\bin\java.exe" ... [creating model: ADAccountTools] [creating service: ADAccountTools] [creating port: com.tekelec.corpdir.ws.ADAccountToolsSEI] [creating operation: changeUserPassword] compile: compile-jsps: Building jar: C:\Data\Projects\<projdir> Enterprise-war\dist\<myapp>.war do-dist: dist: run-deploy: In-place deployment at C:\Data\Projects\<projdir>war\build\web Start registering the project's server resources Finished registering server resources .. And thats it. Nothing happens. Looks like I'm back to full deployment for every minor change.. :0( Cheers! -Sean
Hi clever, this is different issue. I filed new issue #64353 and marked as Beta stopper. It means that should be definitely fixed in upcomming beta release. *** This issue has been marked as a duplicate of 55177 ***