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.
I am trying to run main project from ide but the following deployment error occurs. In-place deployment at C:\NetBeansWorkspace\insrating\build\web deploy?config=file:/C:/DOCUME~1/CHQ- JO~1/LOCALS~1/Temp/context28009.xml&path=/insrating Server returned HTTP response code: 400 for URL: http://localhost:8084/manager/deploy?config=file:/C:/DOCUME~1/CHQ- JO~1/LOCALS~1/Temp/context28009.xml&path=/insrating C:\NetBeansWorkspace\insrating\nbproject\build-impl.xml:565: Deployment error: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 44 seconds) My context definition in the context.xml is: <Context docBase="C:\NetBeansWorkspace\insrating\dist\insrating.war" path="/insrating" reloadable="true" override="true"> <Resource auth="Container" name="jdbc/insurancerating" type="javax.sql.DataSource" driverClassName="COM.ibm.db2.jdbc.app.DB2Driver" username="insrates" password="masterkey" url="jdbc:db2:insr" maxActive="10" maxIdle="5" maxWait="500"/> </Context>
here is the error log: [org.netbeans.modules.tomcat5] INFORMATIONAL *********** Exception occurred ************ at 10:51 AM on May 8, 2006 java.io.IOException: Server returned HTTP response code: 400 for URL: http://localhost:8084/manager/list at sun.reflect.GeneratedConstructorAccessor61.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at sun.net.www.protocol.http.HttpURLConnection$6.run (HttpURLConnection.java:1202) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException (HttpURLConnection.java:1196) at sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java:885) [catch] at org.netbeans.modules.tomcat5.TomcatManagerImpl.run (TomcatManagerImpl.java:507) at org.netbeans.modules.tomcat5.TomcatManagerImpl.list (TomcatManagerImpl.java:312) at org.netbeans.modules.tomcat5.TomcatManager.modules (TomcatManager.java:586) at org.netbeans.modules.tomcat5.TomcatManager.getNonRunningModules (TomcatManager.java:406) at org.netbeans.modules.tomcat5.nodes.TomcatWebModuleChildren$1.run (TomcatWebModuleChildren.java:72) at org.openide.util.RequestProcessor$Task.run (RequestProcessor.java:493) at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:926) Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://localhost:8084/manager/list at sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java:1149) at java.net.HttpURLConnection.getResponseCode (HttpURLConnection.java:367) at org.netbeans.modules.tomcat5.TomcatManagerImpl.run (TomcatManagerImpl.java:474) ... 6 more
It looks like the tomcat manager application is not running. Can you verify it by opening the http://localhost:8084/manager/html link in the browser? If you are prompted for a username and password the manager application should be deployed correctly.
The tomcat manager was not running. Thanks.
VERIFIED