>
> [#|2005-07-07T09:02:14.078-0700|SEVERE|sun-appserver-pe8.1_02|javax.ente
> rprise.system.tools.deployment|_ThreadID=12;|"DPL8011: autodeployment
> failure while deploying the application : Error loading deployment
> descriptors for HDWS_dcgs_test_server Line 20 Column 15 -- Element type
> "context-root" must be declared.
> "|#]
I don't see a known type of context-root in the web.xml dtd, so maybe
you were confusing this with something else.
As for the NPE in your second example, you may have found a bug when
web.xml is shorter than expected (*or* we require <session-config> and
don't have a good error message). Try using this for your web.xml file:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"
http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
<display-name>RAIWebService</display-name>
<description>This is a test stub that will mimic the DCGS meta data
catalog Web service.</description>
<session-config>
<session-timeout>60</session-timeout>
</session-config>
</web-app>
Let me know if that helps. I will look into the NPE issue when the
session-config element isn't present.
Cheers,
Bobby