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 76070 - deployment error
Summary: deployment error
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-08 18:26 UTC by hrdkor
Modified: 2006-06-05 00:57 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 hrdkor 2006-05-08 18:26:08 UTC
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>
Comment 1 hrdkor 2006-05-08 19:47:00 UTC
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
Comment 2 Sherold Dev 2006-05-09 12:58:24 UTC
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.
Comment 3 hrdkor 2006-05-09 19:17:47 UTC
The tomcat manager was not running. Thanks.
Comment 4 Jaroslav Pospisil 2006-06-01 15:02:13 UTC
VERIFIED