Siebel EAI > XML Error when Trying to Add a Portlet on a Portal Page with old JPDK Version
XML Error when Trying to Add a Portlet on a Portal Page with old JPDK Version
APPLIES TO: Portal - Version: 10.1.2 This problem can occur on any platform. SYMPTOMS After upgrade Portal from 9.0.2 to 10.1.2 can't add custom portlet to page. Internal error WWC-00006 An unexpected error has occurred in pages: ORA-06502: PL/SQL: numeric or value error: character to number conversion error (WWC-44847)<!-- wwpob_api_page.add_portlet@wwv_thingsave.saveitem -->An unexpected error has occurred in portlet instances: wwpob_api_portlet_inst.create_inst<NOBR> (WWC-44846)</NOBR><BR><!-- wwpob_api_portlet_inst.create_inst --><!--An unexpected error occurred: java.io.IOException: An attribute cannot appear more than once in the same start tag.13<BR><Line 2, Column 192>: XML-20124: (Fatal Error) An attribute cannot appear more than once in the same start tag.<BR><BR> at oracle.webdb.provider.web.SoapResponseProcessor.getDocument(Unknown Source)<BR> at oracle.webdb.provider.web.SoapResponseProcessor.processSOAP(Unknown Source)<BR> at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch(Unknown Source)<BR> at oracle.webdb.provider.web.HttpProviderDispatcher.registerPortlet(Unknown Source)<BR><NOBR> (WWC-43000)</NOBR><BR>--><!-- HttpProviderDispatcher.registerPortlet --><!--An unexpected error occurred: oracle.xml.parser.v2.XMLParseException: An attribute cannot appear more than once in the same start tag.<BR> at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:324)<BR> at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)<BR> at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:267)<BR> at oracle.webdb.provider.web.SoapResponseProcessor.getDocument(Unknown Source)<BR> at oracle.webdb.provider.web.SoapResponseProcessor.processSOAP(Unknown Source)<BR> at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch(Unknown Source)<BR> at oracle.webdb.provider.web.HttpProviderDispatcher.registerPortlet(Unknown Source)<BR><NOBR> (WWC-43000)</NOBR><BR>--><!-- SoapResponseProcessor.getDocument --></FONT></TD>
But portlets already added to page (before upgrade) with the same provider work fine!
When refreshing the Portlet Repository then this provider has an exception.
Also, when trying to register the same provider with a new name it fails with an error like this: Internal error WWC-00006 <!--An unexpected error occurred: User-Defined Exception<NOBR> (WWC-43000)</NOBR><BR>--><!-- wwpro_api_provider_registry.register_provider -->The provider URL specified may be wrong or the provider is not running.<NOBR> (<A
HREF="http://l-adm-1.energo.lv:7778/portalHelp/html/errus.htm#WWC-43176">WWC-43176</A>)</NOBR><BR>< -- wwpro_provider_reg_private.get_provider_api_version --><!--An unexpected error occurred: java.io.IOException: An attribute cannot appear more than once in the same start tag.13<BR><Line 2, Column 192>: XML-20124: (Fatal Error) An attribute cannot appear more than once in the same start tag.<BR><BR> at oracle.webdb.provider.web.SoapResponseProcessor.getDocument(Unknown Source)<BR> at oracle.webdb.provider.web.SoapResponseProcessor.processSOAP(Unknown Source)<BR> at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch(Unknown Source)<BR> at oracle.webdb.provider.web.HttpProviderDispatcher.getAPIVersion(Unknown Source)<BR><NOBR> (WWC-43000)</NOBR><BR>--><!-- HttpProviderDispatcher.getAPIVersion --><!--An unexpected error occurred: oracle.xml.parser.v2.XMLParseException: An attribute cannot appear more than once in the same start tag.<BR> at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:324)<BR> at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)<BR> at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:267)<BR> at oracle.webdb.provider.web.SoapResponseProcessor.getDocument(Unknown Source)<BR> at oracle.webdb.provider.web.SoapResponseProcessor.processSOAP(Unknown Source)<BR> at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch(Unknown Source)<BR> at oracle.webdb.provider.web.HttpProviderDispatcher.getAPIVersion(Unknown Source) (WWC-43000)--><!-- SoapResponseProcessor.getDocument -->
The standard built-in portlets can be added without any problems.
Verified the issue by the OWC session.
CAUSE Old JPDK version is used in the application.
The JPDK version that the application used was 9.0.2.0.2_19072002. This application was deployed under 10.1.2 Portal.
SOLUTION To implement the solution, please execute the following steps:
1. Upgrade the JPDK of the application to 10.1.2. 2. You can use the following document for the JPDK migration: Oracle Application Server Portal Developer Kit (PDK) Migrating Applications to PDK-Java Release 9.0.4 and later (migrating.to.pdkjava.904.html)
|