History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1800
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andrew Wills
Reporter: Andrew Wills
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

deployPortletApp target fails when server isn't connected to the Internet

Created: 21/Aug/07 05:43 PM   Updated: 29/Aug/07 05:31 PM
Component/s: Portlet Container
Affects Version/s: 2.6.0 GA
Fix Version/s: 2.6.1 RC1

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Without an Internet connection, portal admins are unable to deploy any portletApp that contains a web.xml file with a <!DOCTYPE> declaration like the following:

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

XML parsers will *always* try to load the DTD from java.sun.com, even if validation is turned off. Many of the example portlet applications provided with uPortal contain <!DOCTYPE> declarations like this one.

This means that the 'deployPortletApp' target requires an Internet connection, or (alternately) someone must manually remove the DTD references or entire <!DOCTYPE> declarations (it works without them) from the web.xml files of any portletApps that will be deployed.

 All   Comments   Work Log   Change History      Sort Order:
Andrew Wills [21/Aug/07 07:39 PM]
I leveraged commons resolver to provide the ability to use a local copy of the servlet 2.3 DTD.