WebSphere Portal Server - Re: PEDM0073E: Update of Web Module failed UID from the portlet

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > November 2004 > Re: PEDM0073E: Update of Web Module failed UID from the portlet





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: PEDM0073E: Update of Web Module failed UID from the portlet
Gennadiy Civil

2004-11-23, 8:28 am

url wrote:
> Perpahps you have forgotten to change web.xml, when you change portlet.xml?
>
> url
>

What would I change?
The only thing I did - I added another portlet to portlet.xml, I used to
have two porlets now I have three...
How would this affect web.xml?
Could you give me an example?

Thanks


Here is portlet.xml
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app id="ARC1"
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
<portlet>
<portlet-name>Test</portlet-name>
<display-name>Test Portlet</display-name>
<portlet-class>com.salmonllc.portlet.SalmonPortlet</portlet-class>
<init-param>
<name>viewJSP</name>
<value>/Jsp/hello.jsp</value>
</init-param>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports>
<portlet-info>
<title>Test Portlet</title>
</portlet-info>
</portlet>
<portlet>
<portlet-name>Test2</portlet-name>
<display-name>Test Portlet 2</display-name>
<portlet-class>com.salmonllc.portlet.SalmonPortlet</portlet-class>
<init-param>
<name>viewJSP</name>
<value>/Jsp/DataTable.jsp</value>
</init-param>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports>
<portlet-info>
<title>Test DataTable</title>
</portlet-info>
</portlet>

</portlet-app>


Here is web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app id="ARC1">
<display-name>Test2</display-name>

<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>

<taglib id="PortletTLD">
<taglib-uri>http://java.sun.com/portlet</taglib-uri>
<taglib-location>/WEB-INF/tld/std-portlet.tld</taglib-location>
</taglib>

<taglib>
<taglib-uri>/taglib.tld</taglib-uri>
<taglib-location>taglib.tld</taglib-location>
</taglib>
</web-app>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com