Re: JWSDP 1.5 -> JWSDP 1.6

From: Bobby Bissett - Javasoft <Robert.Bissett_at_Sun.COM>
Date: Mon, 11 Jul 2005 16:55:49 -0400

> [#|2005-07-07T09:02:14.078-0700|SEVERE|sun-appserver-pe8.1_02|javax.ente
>|_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"

    <description>This is a test stub that will mimic the DCGS meta data
catalog Web service.</description>

Let me know if that helps. I will look into the NPE issue when the
session-config element isn't present.