Problem with portlet addin

Hopefully someone can help me with the following problem, I'm trying to setup a demo of portlets for a customer.
I've downloaded the latest portlet wizard addin that supports JSR 168. But after following the installation instructions it did not work for me.
When clicking the finisch button on the Java Portlet wizard the following exception occurs:
Exception occurred during event dispatching:
oracle.xml.parser.v2.XMLDOMException: Node does not exist.
org.w3c.dom.Node oracle.xml.parser.v2.XMLAttrList.removeNamedItemNS(java
.lang.String, java.lang.String)
XMLAttrList.java:711
I've tried this with jdev 9.0.3.2 and 9.0.3.3.

Hello Jelco,
Did you install the Java Web Service Developer Pack 1.3 or 1.2 ?
My guess is you are using the 1.3 and this is the reason why you have get this error.
Sun provide access to all previous downoad in the archive section:
http://java.sun.com/webservices/archive.html
If you installed 1.3 could you please install 1.2 and let me know ?
Regards
Tugdual

Similar Messages

  • Problem with Portlet Backing Context

    Hi,
    I am having problem with Portlet Backing context.
    I have on portlet and one JPF associated with this portlet.
    Now in JPF action method i have Portlet Backing context object, using this object
    i tried to get the previous portlet state using portletCtx.getPreviousWindowState().
    But It always gives me null.
    can anyone help me out ? its very urgent.
    or you can suggest me anyother option to do this....
    Thanks,
    Vijay Patel

    Vijay -
    You might want to post this to the Portal newsgroup.
    Regards,
    Kunal
    "vijay patel" <[email protected]> wrote:
    >
    Hi,
    I am having problem with Portlet Backing context.
    I have on portlet and one JPF associated with this portlet.
    Now in JPF action method i have Portlet Backing context object, using
    this object
    i tried to get the previous portlet state using portletCtx.getPreviousWindowState().
    But It always gives me null.
    can anyone help me out ? its very urgent.
    or you can suggest me anyother option to do this....
    Thanks,
    Vijay Patel

  • Problem with portlets with XSLT generating dynamic portal compatible links

    Hi,
    We're using XSLT to transform XML data to HTML in a portlet. The problem is that
    the XML contains headlines and we need to create links to the complete article,
    which has to be displayed in the same portlet. How do I create a portal comaptible
    link with XSLT? In the JSP you can use the netui tag library like:
    <netui:anchor action="..">
    link
    <netui:parameter name="id" value="{id}"/>
    </netui:anchor>
    but how can I achieve this with XSLT? We tried generating the xsl with a jsp,
    but this doesn't work since the data entered in the value attribute of the netui:parameter
    tag will be encoded causing the XSL transformer to fail.
    Is there an easy solution to this? Or can XSLT only be used with very simple content?
    Ard

    We're trying to display some news headlines, clicking a headline has to invoke
    an action to display the complete article in the same portlet (using pageflow).
    When displaying the articles we use XSLT like (this is a JSP generating XSLT):
    <?xml version="1.0"?>
    <%@ page contentType="text/x-xslt"%>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html"/>
    <xsl:template match="items">
    <xsl:apply-templates select="item"/>
    </xsl:template>
    <xsl:template match="item">
    <nobr>
    <%-- ###### Here we need an action link, with the title as a request parameter
    ###### --%>
    <xsl:value-of select="@title"/>
    </nobr>
    </xsl:template>
    </xsl:stylesheet>
    The XML is like:
    <items>
    <item title="some title"/>
    <item title="some other title"/>
    </items>
    We need to generate a portal compatible link which invokes an action (show_details)
    with the title of the article as a request parameter.
    I know how to do this in a JSP, but since the data is in XML we like to do this
    with XSLT.
    Can you help?
    Subbu Allamaraju <subbuATBeaDOTCom> wrote:
    Could you elaborate (perhaps with some xsl snippet generated by jsp)
    the
    failures you were getting with xslt?
    Subbu
    Ard van der Scheer wrote:
    Hi,
    We're using XSLT to transform XML data to HTML in a portlet. The problemis that
    the XML contains headlines and we need to create links to the completearticle,
    which has to be displayed in the same portlet. How do I create a portalcomaptible
    link with XSLT? In the JSP you can use the netui tag library like:
    <netui:anchor action="..">
    link
    <netui:parameter name="id" value="{id}"/>
    </netui:anchor>
    but how can I achieve this with XSLT? We tried generating the xsl witha jsp,
    but this doesn't work since the data entered in the value attributeof the netui:parameter
    tag will be encoded causing the XSL transformer to fail.
    Is there an easy solution to this? Or can XSLT only be used with verysimple content?
    Ard

  • Problems with Portlet projects

    Hi,
    Started using Java Studio Enterprise recently (now that it's free) since I am developing portlet applications for an organization running the enterprise system in production use.
    The IDE is great (love the UML stuff) but I've run in to a couple of problems that are really slowing me down.
    When I run a portlet project in the Application Server (using the Harness portlet provider/Portal Server simulator) I noticed that every request made to the Portlet is duplicated. So if I have a line like...
    System.out.println("Portlet: doView()");
    ... in the Portlets doView method I get this in the server log:
    [#|2006-01-13T12:09:27.093+0200|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=31;|
    Portlet: doView()|#]
    [#|2006-01-13T12:09:27.109+0200|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=31;|
    Portlet: doView()|#]
    Why is this happening and what can I do about it? I first noticed this when I was using a DAO from a portlet and all my sql statements got executed twice!
    The other thing that's annoying me is that when i shutdown the ide, my datasource reference is whiped out from my web.xml file. So everytime I start Studio Enterprise I have to manually edit the web.xml file to get my datasource working. I have configured my datasource with the IDE (new File > Sun Resource -> JDBC resource...).
    Any ideas?

    Unfortunately this is a bug in in JSE 8.0. It will be fixed in the currently developed JSE 8.1, but for now there exists a work-around (quoting our portlet builder engineer):
    1. Go to folder <userdir>/config/ps/Harness
    (e.g.: "C:\Documents and Settings\<username>\.jstudio\Ent8\config\ps\Harness")
    2. Open jsp file "PSSimTarget.jsp" in
    <userdir>/config/ps/Harness/web/desktop/default/harness/PSSimTarget.jsp
    3. Find next lines at the top of the file:
    <i18n:set
    var="locale"><%=ProviderHarness.getHarness(request,response,pageContext).getLocaleString()%></i18n:set>
    <i18n:setLocale value="${locale}" scope="session"/>
    <i18n:setBundle basename="i18n.Bundle" var="myBundle"/>
    4. Replace it with next lines:
    <%
    HttpSession httpsession = request.getSession();
    ProviderHarness tmpObj =
    (ProviderHarness)httpsession.getAttribute("desktop.Simulator.ProviderHarness");
    if (tmpObj == null) {
    %>
    <i18n:set var="locale"><%=ProviderHarness.getHarness(request,response,pageContext).getLocaleString()%></i18n:set>
    <%
    %>
    <i18n:setLocale value="${locale}" scope="session"/>
    <i18n:setBundle basename="i18n.Bundle" var="myBundle"/>
    Every time when you start studio with new userdir, you should change PSSimTarget.jsp to avoid double requests.

  • JSF Problem with portlet

    Hello. I am using jsf 1.2 with struts 2 (for portlet support) in weblogic. Jsf is used trough struts 2 jsf-plugin. In weblogic i am getting this error :
    >
    javax.portlet.PortletException
    at com.bea.portlet.container.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:143)
    at org.apache.struts2.portlet.result.PortletResult.executeRenderResult(PortletResult.java:200)
    at org.apache.struts2.portlet.result.PortletResult.doExecute(PortletResult.java:91)
    at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:185)
    at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:355)
    Truncated. see log file for complete stacktrace
    javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/jsp/view/index.jsp
    index.jsp:16:26: No property editor found for the bean "javax.el.ValueExpression".
    <h:panelGrid columns="3">
    ^-^
    index.jsp:17:29: No property editor found for the bean "javax.el.ValueExpression".
    <h:outputText value="Employee Id:" />
    ^------------^
    index.jsp:22:26: No property editor found for the bean "javax.el.ValueExpression".
    <h:outputText value="Back" />
    ^----^
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    Truncated. see log file for complete stacktrace
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/jsp/view/index.jsp
    index.jsp:16:26: No property editor found for the bean "javax.el.ValueExpression".
    <h:panelGrid columns="3">
    ^-^
    index.jsp:17:29: No property editor found for the bean "javax.el.ValueExpression".
    <h:outputText value="Employee Id:" />
    ^------------^
    index.jsp:22:26: No property editor found for the bean "javax.el.ValueExpression".
    <h:outputText value="Back" />
    ^----^
    at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:296)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
    Truncated. see log file for complete stacktrace
    >
    My JSP file :
    >
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    <f:view>
    <html>
    <!-- todo: make header variable -->
    <head>
    <title>JSF Integration Examples</title>
    </head>
    <body>
         <h1>Modify Employee</h1>
         <h:form>
              <h:panelGrid columns="3">
              <h:outputText value="Employee Id:" />
              </h:panelGrid>
              <h:outputLink>
                   <h:outputText value="Back" />
              </h:outputLink>
         </h:form>
    </body>
    </html>
    </f:view>
    I don't have any faces-config and my web.xml looks like :
    >
    <?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="bookmark-portlet">
    <!-- JavaServer Faces Servlet Configuration, not used directly -->
    <servlet>
    <servlet-name>faces</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>JspSupportServlet</servlet-name>
    <servlet-class>org.apache.struts2.views.JspSupportServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- JavaServer Faces Servlet Mapping, not called directly -->
    <servlet-mapping>
    <servlet-name>faces</servlet-name>
    <url-pattern>*.action</url-pattern>
    </servlet-mapping>
    </web-app>
    Does someone know why i get this error?

    Someone with any solution?

  • Problem with portlet

    i created a page and inserted 2 same portlet. The top portlet shows "internal server error" and the bottom portlet works fine.
    The portlet requires to access the database before displaying the pages

    I'm new to oracle 10g, so i'm not very sure what you mean.
    I currently deploy the application to AS oracle 10g server.using JSP to develop the form with java bean.
    When i look at the application.log, the error msg is "no provider session"
    and as usual, when i run the form, it shows "internal server error 500"
    May i know how can i move the forum to Portal Forum

  • Problem with images in content management portlet

    Hi all,
    I'm trying to use the content management portlet provided with Bea WLP 8.1 SP4, but I've a problem with the images (they're not displayed at all, only a lot of red "X"s). Some how it seems to be a problem with the Taglib render. It tries to get the resourceRootPath to post it in front of the src path in the image tag and it always includes the parameter that are in the URL.
    I followed the instructions in the help of workshop, so I think I've imported every needed files. Moreover, the images are in the right folder tree. The wired thing is, that the My Content Portlet works fine.
    Any help for a newbie???
    Cheers,
    Cord

    Hi Cord,
    I was having that same problem, and I couldn't find anything on this website either. I tried creating a new portal project and following the directions exactly again, but it didn't work there either. It works in the sample portal.
    So I contacted BEA Support, and they were able to provide me with a solution:
    The file url-template-config.xml (in the WEB-INF directory) has to be modified and have the {url:currentPage} parameter removed in order to get the images working for the content management portlet. For now, do this only in the section <!-- URL templates -->. Leave the other places like in WSRP etc as it is.
    I actually took it out of the WSRP places too, by accident, but I don't use WSRP anyway, and everything else seems to be working fine. And the images show up!
    Hope this works for you too,
    Beth

  • Problem with public pages having PL/SQL portlets

    I am having problem with a public page which has PL/SQL portlets.
    When I try to access that page without doing login, it displays everything but the portlets which are database driven.
    Is this the way this public page should behave?
    Is there anyway by which I can display data to my public pages from PL/SQL portlets without doing login?
    FYI PL/SQL portlets are in portal30 schema.

    Yes, it has is_runnable function and it looks like this :
    function is_runnable
    p_provider_id in integer
    ,p_reference_path in varchar2
    return boolean
    is
    begin
    If p_reference_path is null the caller may be the provider
    framework (i.e. the Refresh operation of the Portlet
    Repository).
    if (p_reference_path is null) then
    The following if statement is the security mechanism that
    the portlet implements. It does not have any other semantic
    meaning. Any portlet is expected to implement their own
    security mechanism.
    This security mechanism checks if the current user is logged
    on or just accessing the portal through the public account.
    if (wwctx_api.is_logged_on) then
    return true;
    else
    return false;
    end if;
    else
    If p_reference_path is not null the caller makes this call as
    a security check against the portlet instance.
    The security mechanism implemented by this portlet for portlet
    instances is null so true is returned. Returning this value
    indicates that all users have access to this portlet instance.
    return true;
    end if;
    end is_runnable;
    +++++++++++++++++++++++++++++++++++++++++++
    What should I need to change with that function? And what exactly is its use?
    FYI : The code which I wrote for my portlet is by doing some modification in downloaded service portlet. But I have not altered is_runaable function.

  • Problem with creating new user in portal = portlet is not visible

    Hi,
    I've got a problem with creating new users in portal. In the Administer tab of the builder is the user portlet not visible.
    How can I make this portlet visible?
    Please Help
    thank you...
    Gilbert

    Hi..my problem slightly similar.
    I created one new user, and didn't select anything from "Public Groups Assignment" and "Privilege Assignment" for him.
    I expect the user will be a public user.
    But, when he try to logged in the portal,
    He cannot see all the PORTLETS related to database values..
    All he can see just LINKS -that all in my portal right now beside the report from database that the user cannot see :)
    So, what did i do wrong?
    Plz Advise, and thanks.

  • Word experienced a serious problem with the 'acrobat pdfmaker office com addin' add-in. after Office Updates.

    I cant cant use mail merge feature in Winword in conjunction with Abobe Acrobat 10 (pdfmaker add-in) after the recent Office April Windows and Office Updates.
    Here is a quick note from the event viewer:
    The program WINWORD.EXE version 14.0.7134.5000 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel. 
     Process ID: 1138 
     Start Time: 01d07dcede19c458 
     Termination Time: 15 
     Application Path: C:\Program (file:///C:/Program) Files (x86)\Microsoft Office\Office14\WINWORD.EXE 
     Report Id: 
    Microsoft Word: Accepted Safe Mode action : Word experienced a serious problem with the 'acrobat pdfmaker office com addin' add-in. If you have seen this message multiple times, you should disable
    this add-in and check to see if an update is available. Do you want to disable this add-in?.
    I do not wish to disable the pdfmaker add-in as I use it to run mail merge on WORD and send 10s and 1000s of pdfs via email to external users. I am not sure what are my options here and I wish
    someone could help me get to the root cause of the matter.
    My environment is as follows:
    Windows 7 x64 SP1
    Office 2010 v 14.0.7128.5000
    Adobe Reader MUI X and Adobe Acrobat X
    Feroze

    Hi,
    As the event log indicated, this is due to acrobat pdfmaker office com addin doesn't work well with Microsoft Word.
    I would suggest you go ahead and try to upgrade your Adobe product to the latest version and see if issue persists.
    Or contact the support of Adobe and see if there is a known compatibility issue or not.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • PowerPoint experienced a serious problem with the 'adobe presenter powerpoint com addin' add-in.

    I've installed Adobe Presenter V7.0.7 Build 7746. When I open an existing PowerPoint file and try and use Presenter, I get the following error: PowerPoint experienced a serious problem with the 'adobe presenter powerpoint com addin' add-in. If you have seen this message multiple times, you should disable this add-in and check to see if an update is available. Do you want to disable this add-in?
    No, I don't want to disable it. When I click No, PowerPoint stops working. I get a message that says: Microsoft PowerPoint has stopped working. A problem caused the program to stop working correctly, Widows will close the program and notify you if a solution is available. My only choice is to click the Close program button.
    When I open the PPT file again, I get the same "experienced a serious problem" message. If anyone has a solution to this, I'd appreciate knowing what it is. It took me a while just to get the Presenter option to appear in the PowerPoint toolbar. Now that I have it, it's not working.
    Thank you!

    Thank you for your quick reply. Here are the answers to your questions.
    1. The file I'm having issues with was not created using any version of Presenter. It is simply a PowerPoint file.
    2. The file is a PPT not PPTX.
    3. I am running Windows7 and Office 2010.
    I think I might have found the solution to the problem. I opened the PPT file and saved it as a PPTX file. Then I clicked the Presenter option in the PowerPoint toolbar and was able to select different Presenter options with no issues. I opened other PPTX files and I did not get the error window stating 'PowerPoint experienced a serious problem with the 'adobe presenter powerpoint com addin' add-in'.
    This seems to work. So, it appears that any PPT file needs to be saved as a PPTX file before using Presenter. If you have another solution that I might be able to keep in my back pocket (in case this happens again and what I did does not work), then please answer. Otherwise, I'm good now.
    Thanks!

  • Problem with Lotus Notes portlet

    Hi all, i have another problem with the latest Lotus Notes portlet (version 9.0.4.0.0_05062003). I have installed and configured the portlet and the domino server to be used with the Basic Authentication. I followed all the steps in the installation document and everything seems OK. However when i include these portlets in a page, some links (not all) doesn't work, in example: the new contact link. Any of these links opens a new browser window. This window displays that i have successfully configured Lotus Notes External Application, but i can't do anything to perform the action, as to add the new contact. Does anybody have the same problem?, it's a bug? or i have committed an error?
    Finally, if i configure the portlet and the domino server to be used with session based Authentication i have the same problem that Remy Vanderplaetsen has posted.
    Any help will be very appreciated.
    Thanks a lot!

    I guess this problem is again with the same portal issue. You need to apply the patch as mentioned in the FAQ.html document for LotusNotes. Please refer this document on how to get and apply the portal patches so that it could work.

  • Problems with Autonomy Lite Portlets for WLP 4.0

    Hello,
    Ive recenlty installed the autonomy lite portlets, but am getting no functionality.
    i followed the install docs exactly, but get a "cant communicate with DRE" error
    in my portlet. Also, when i run a search, I always get no results even though the
    logs would suggests that all my dir material has been imported. Any ideas? does the
    DRE have to reside on a separate port/machine? I am also getting an error in the
    logs saying "cant bind to index port." Any ideas there?

    Hi,
    I not sure if this help you, but I've noticed the same problem with downloading contacts on my E65 after upgrade HF from v2.1 to 3.0. Both automatic and manual download of contacts from phone didn't work anymore. But I've found very simple "workaround"on forums - to send all contacts as a card via bluetooth to HF - and ... I works. The only limitation is that you must send updated or new contacts manually from phone to HF. Maybe it will be useful...
    J.

  • Discussion Forum Portlet - Problems with JAVA and UTF8?

    Hi
    I installed the Discussion Forum Portlet successfully. It also seems that almost everything works fine. There's only a problem if I have new posts that include special German characters (Umlaute) like ä, ö, ü or special French characters like é, è or ç. They are saved correctly in the table but if you view the post the characters are not displayed correctly.
    Example
    input: ça va?
    result: ça va?
    I know that there are problems with Java and UTF8 Database. Is there a possibility to change this (bug)?
    Regards
    Mark

    Here's what I got. I don't see anything that helps but I'm kinda new to using SQL and java together.
    D:\javatemp\viddb>java videodb
    Problem with SQL java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver
    ] Syntax error in CREATE TABLE statement.
    Driver Error Number-3551
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in
    CREATE TABLE statement.
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(Unknown Source)
    at videodb.main(videodb.java:31)
    D:\javatemp\viddb>

  • Problem with direction in a page(??????)

    Hi every body,
    I have a problem with direction in some page when i change the language to Arabic(right to left language).
    in some page like welcome page its completely true ,but in some page that i buile with my self (and add some portlet to it like :advanced search portlet)its directon does not appear properly,the label is appear in left, and text box appear in right(its not true).
    what can i do??????????????????
    please answer me :(

    This is not the right forum for your question. Try to post it in the Oracle Application Server Portal forum, or contact Oracle Support.
    Peter

Maybe you are looking for