Support for Portlet...

Does Java EE 5 support portlets?
Any help / links in this regard will be useful.
Further, we are using Sun App Server 9.
If Java EE 5 does support portlet development, does Sun ApplServer 9 support deployment of portlets?
Thanks...
Message was edited by:
SD_STP

Java Portlets are being supported in the new Java Application Platform SDK Update 2 release.Porletcontainer is a part of this Application Platform SDK release.
You can download them from http://java.sun.com/javaee/downloads/index.jsp.
Netbeans Portlet Plugin is available that helps developers to develop, deploy and test portlets on the Portlet Container 1.0
Plugin can be downloaded from http://portalpack.netbeans.org/download.html

Similar Messages

  • Support for Portlet API

    Does the BEA Portal Server support portlets written
    to the proposed Portlet API?
    Specifically, I've played with Jetspeed before
    and have some portlets for Jetspeed. How easy
    is it to port those portlets to the Portal Server?
    From what I've gone through so far with the Portal
    Server 7 sampleportal site and looking through the
    sample code, it seems to be very different from
    what I'm used to in Jetspeed.
    I would appreciate any pointers on documentations
    geared more for developers. While the tutorials
    are useful, they are a bit light on customization.
    Lew

    I doubt it since the Portlet API isn't finalized yet, so BEA's API (along
    with others) is still very proprietary.
    My best guess is that it won't be compliant untill one release version after
    the spec has been completly finished and accepted. 1-2 years? And that is
    if BEA decides to conform to the spec at all.
    "Lew Davis" <[email protected]> wrote in message
    news:[email protected]..
    >
    Does the BEA Portal Server support portlets written
    to the proposed Portlet API?
    Specifically, I've played with Jetspeed before
    and have some portlets for Jetspeed. How easy
    is it to port those portlets to the Portal Server?
    From what I've gone through so far with the Portal
    Server 7 sampleportal site and looking through the
    sample code, it seems to be very different from
    what I'm used to in Jetspeed.
    I would appreciate any pointers on documentations
    geared more for developers. While the tutorials
    are useful, they are a bit light on customization.
    Lew

  • OEPE support for Weblogic Portal 10.3.0?

    Hi,
    I was referred to this forum by Konstantin:
    replace Oracle Workshop for Weblogic with OEPE?
    Does anyone know if Oracle Enterprise Pack for Eclipse has tooling support for developing portlets/portals for Weblogic Portal 10.3.0?
    Kevin

    Thanks for your reply, Brad. It is WLP 10.3.
    Unfortunately, since other components of the Oracle stack that we use are unsupported by OEPE, OEPE isn't going to be an option for us:
    OEPE support for ODSI 10gR3?
    OEPE support for OSB 10gR3?

  • Support for WAI - Web Accessibility Initiative

    I'm answering an RFQ with a requirement about WAI. My questions are:
    a) Is any particular support for WAI planned?
    b) Would it be OK to say that Portal supports building Web sites in accordance with the WAI guidelines?
    Thanks,
    Erik Hagen

    G'day Matt,
    Thanks for bringing up this very important point!
    As far as I can tell this type of support is very limited. The HTML generated
    by Portal is not great (just try running HTML Tidy over one of these pages:-).
    The big bugger is not being able to set the "summary" attribute for tables and
    well Portal uses a lot of tables (page regions, portlets, folder regions).
    Ideally I would like to be able set this for portlets via the "edit defaults" link
    during page creation. This requires the various portlet authors to help us out
    a bit. Getting the authors of the "Folder" and "Navigation Bar" portlets to do
    this would be a priority for me. They would also need to provide support for
    any internal tables that get generated e.g. folder regions. This is probably
    non-trivial---just think of all the tables that pop up when you click on the
    "edit folder" link:-)
    We would also need a fix for page regions which is probably the responsibilty
    of a completly different set of authors.
    This all looks like a lot of work so I'm not holding my breath for a quick patch.
    Hopefully these issues will be addressed before Portal 3.1 comes out.
    Ciao!
    Kal.

  • JSR 168 support and portlet taglib

    I could not find support for the ActionURL tag in the JSR 168 release for 8.1.
    Are these tags available? If so, where can I find them?
    Thanks,
    Steve

    Chris,
    You can obtain an instance of renderRequest from the http request as in:
    <%
    RenderRequest renderRequest = (RenderRequest)
    request.getAttribute("javax.portlet.request");
    %>
    Alternatively, if you've JSP base class set to
    com.bea.portlet.jsp.PortletJspBase in your weblogic.xml (see WLS docs on
    how to set a default base class for JSPs), all JSPs in your webapp can
    automatically access renderRequest, renderResponse and portletConfig
    variables directly, as in
    <%
    renderResponse.createActionURL(...);
    %>
    Subbu
    Chris Jennings wrote:
    I need custom tags that can get the namespace of a portlet. I don't mind writing
    some to fill the gap until the final release. How can I get access to the RenderRequest
    from in a home grown custom tag now?
    Thanks!
    Chris
    Subbu Allamaraju <[email protected]> wrote:
    These tags will be available in the final release. The preview release
    does not include this tag library.
    Subbu

  • RAD7 support for struts

    Support for struts in RAD7 is added at the time of installation.But,
    if support for struts was not addedat the time of istallation of RAD7(Rational Application Developer) ......, is there any way we to add support for struts,for developing struts applicaiton in RAD 7...?

    Hi Ashish,
    a brief answer, Portal 7.0 does not have the possibility to make usage of Struts within the Portal Framework.
    7.0 has 'WebFlow' as a MVC pattern and you design your processing flow logic with the help of EBCC.
    8.1 Platform and specifically Java Page Flow is based on Struts. Here you can make use of Struts Actions by Portlets and Portal applications.
    Please see following links for some further information on Java Page Flow and Struts:
    http://dev2dev.bea.com/products/wlworkshop81/articles/Dew.jsp
    http://dev2dev.bea.com/products/wlworkshop81/articles/Feit.jsp
    For your requirement I believe 8.1 would be a better choice.
    -Karl

  • Support for jsp:include page tag

    Is there a support for the jsp:include page tag ?
    I get an exception when trying to include jsp's
    Thanks

    Hi
    I use a page with a one column template
    I print a JSP that include another JSP using <jsp:include page="my_shopping_cart.jsp"
    flush="true"/>
    i get this exception :
    java.lang.IllegalStateException: Can not set buffer size after writing data. at
    com.bea.portlet.container.HttpServletResponseImpl.setBufferSize(HttpServletResponseImpl.java:179)
    at weblogic.servlet.jsp.PageContextImpl.initialize(PageContextImpl.java:66) at
    weblogic.servlet.jsp.PageContextImpl.(PageContextImpl.java:105) at weblogic.servlet.jsp.JspFactoryImpl.getPageContext(JspFactoryImpl.java:37)
    at jsp_servlet._portlets._oci.__my_shopping_cart._jspService(my_shopping_cart.jsp)
    at com.bea.portlet.jsp.PortletJspBase.service(PortletJspBase.java:110) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:155) at jsp_servlet._portlets._oci.__oci._jspService(oci.jsp:209)
    at com.bea.portlet.jsp.PortletJspBase.service(PortletJspBase.java:110) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
    at com.bea.portlet.container.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:98)
    at com.cgi.poc.jsr168.MyAccountsPortlet.doView(MyAccountsPortlet.java:107) at
    javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:208) at javax.portlet.GenericPortlet.render(GenericPortlet.java:137)
    at com.bea.portlet.container.PortletStub.render(PortletStub.java:370) at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:501)
    at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:436)
    at com.bea.portlet.server.PortletHttpServer.invoke(PortletHttpServer.java:218)
    at com.bea.portlet.server.PortletHttpServer.process(PortletHttpServer.java:162)
    at com.bea.portlet.server.PortletHttpServer.doGet(PortletHttpServer.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
    at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireRender(JavaPortletContent.java:246)
    at com.bea.netuix.servlets.controls.content.JavaPortletContent.renderInternal(JavaPortletContent.java:146)
    at com.bea.netuix.servlets.controls.content.JavaPortletContent.beginRender(JavaPortletContent.java:108)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:424) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:427)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:172) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:95)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:380) at com.bea.netuix.nf.UIControl.render(UIControl.java:580)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:341)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58)
    at jsp_servlet._framework._skeletons._bellca.__gridlayout._jspService(gridlayout.jsp:29)
    at com.bea.portlet.jsp.PortletJspBase.service(PortletJspBase.java:110) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
    at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:187)
    at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:90)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:420) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:427)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:172) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:220)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:158) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:363)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:207) at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:584)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Subbu Allamaraju <[email protected]> wrote:
    Could you please post more details of the exceptions?
    Thanks
    Subbu
    Carl Samson said the following on 12/09/2003 01:15 PM:
    Is there a support for the jsp:include page tag ?
    I get an exception when trying to include jsp's
    Thanks

  • Support for Handicap Accessibility???

    What support, if any, does Portal provide for handicap accessibility (Section 508 compliance)? Our customer has a requirement to make their public web site accessible. This means adding extra information to pages, HTML table definitions, etc, so that speaking browsers, for example, can navigate the page easier. With the automatic HTML generation that Portal does for you, I don't see anywhere we could insert this information.
    Failing that, has anyone else addressed this issue in their implementation?

    G'day Matt,
    Thanks for bringing up this very important point!
    As far as I can tell this type of support is very limited. The HTML generated
    by Portal is not great (just try running HTML Tidy over one of these pages:-).
    The big bugger is not being able to set the "summary" attribute for tables and
    well Portal uses a lot of tables (page regions, portlets, folder regions).
    Ideally I would like to be able set this for portlets via the "edit defaults" link
    during page creation. This requires the various portlet authors to help us out
    a bit. Getting the authors of the "Folder" and "Navigation Bar" portlets to do
    this would be a priority for me. They would also need to provide support for
    any internal tables that get generated e.g. folder regions. This is probably
    non-trivial---just think of all the tables that pop up when you click on the
    "edit folder" link:-)
    We would also need a fix for page regions which is probably the responsibilty
    of a completly different set of authors.
    This all looks like a lot of work so I'm not holding my breath for a quick patch.
    Hopefully these issues will be addressed before Portal 3.1 comes out.
    Ciao!
    Kal.

  • IPod Reset Utility is not supported for use with Windows Vista??????

    is there anyway to get pass this?
    i need to use the ipod resetutility to reset my shuffle
    but the only problem is that i have Vista and the program isnt
    supported for vista. can someone help me out here?

    well the only problem with that is that
    everyone i know use vista -.-

  • Lack of support for Canon G7 and G9. Alternatives?

    I am really disappointed about the lack of support for the Canon G9, and looking at the list of compatible cameras (http://docs.info.apple.com/article.html?artnum=306835) I notice that Canon G7 - even if it does not have a RAW format, is not supported either.
    I am thinking that the purchase of the G9 may have been premature and that I may need to sell it and get another cam that is supported by Apple/Aperture.
    What would you guys do? Is there a cam out there similar to the G9 at the moment that has a Apple-supported RAW format?
    Best regards,
    Kjell Are Refsvik

    I think the camera closest to the G9 that has RAW support from Apple are the Panasonic DMC-LX2/Leica D-Lux 3 twins. Don't know where you are, but in the US, the Panasonic costs about $400. 10MP, 28-112mm (35mm equivalent) Leica lens, very compact body, and RAW output. The Leica costs $599, and has that classic look.
    I don't know much about that cameras, but you may want to investigate.
    Message was edited by: rkkwan
    Message was edited by: rkkwan

  • Why no SyncML-support for Harmattan??

    I've used SyncML on my N95 with memotoo.com for years. Worked very well. I took it for granted that SyncML would be supported on the N9. But alas, it isn't. I find that really incomprehensible. Worse yet, CalDAV syncing with memotoo doesn't work - I don't know who's to blame for this, but on the desktop it works flawelessly so I do have a suspicion. Even worse: there is no way to sync contacts using CardDAV.
    MeeGo (the true MeeGo) has SyncML-support out-of-the-box. And the N9/N950 does have SyncML-support for bluetooth.
    Yes, contacts syncing is supported for Ovi. And Google. And Facebook. But I do NOT want to use those services, because of grave privacy risks and because they use yet again some proprietary protocols.
    I wonder, what where they thinking at Nokia for NOT supporting some well-known open standards??
    (While I'm ranting: why is there ^%@$ Facebook and GTalk-support over XMPP, but no self-defined XMPP account?? Yes, you can add such accounts from the terminal, using mc-tool, but really that's just a kick in the teeth. And where's UPnP/DLNA-support?)

    Hey Guys, Did you figure out any way to do PIM sync via SyncML on N9?
    I am struggling to get things moving as I come from N8.
    N9 just doesnt have any way to sync calendar, tasks with Ovi. Same with Notes.
    Best Regards,
    Suyog

  • ISE 1.2.1 support for Yosemite?

    Hello all, just curious. I see in the release notes for ISE 1.2.X that support for Mac OS 10.10 (Yosemite) was available via patch 12 on the ISE1.2.0 train of code. That said, I see nothing in the release notes stating any support for Yosemite for any of the patches for ISE1.2.1, the latest being patch 3 released 1 week after ISE 1.2.0 patch 12. Can anyone please advise if Yosemite is in fact supported on 1.2.1 with patch 3??
    Thank you very much in advance for your help
    Jeff

    Jeff,
    OS X 10.10 is supported in ISE 1.2 p11, 1.2.1 p2 and 1.3.
    Patch 12 for 1.2 and Patch 3 for 1.2.1 fix other issues for OS X 10.10, and I recommend updating to the latest patches for these fixes.
    Here is the entry in the Release Notes detailing the fix for 10.10 in 1.2 p 12:
    MacOsXAgent versrion 4.9.5.3 should be used and MacOsXSPWizard 1.0.0.30
    Note that the description for these files denote ISE 1.2 Patch 11/12, ISE 1.3 release and above.  ISE 1.2.1 is not mentioned, but follows the bug fix/release schedule for 1.2, with an adjustment.
    1.2 patch 10 = 1.2.1 patch 1
    Please Rate Helpful posts and mark this question as answered if, in fact, this does answer your question.  Otherwise, feel free to post follow-up questions.
    Charles Moreton

  • HT204266 My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

    My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

    My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

  • Apple Support for FCE HD - $200 per call???

    i had what was probably a minor issue with editing in final cut express hd today. So naturally, i called applecare. They told me that it had been past the 90 days given to us for support from the point of purchase. Fine. However, the apple support representative went on to tell me that Applecare does NOT support pro applications and that i have to pay $199 per incident? I paid $299 for the product itself! Last i checked, i-pods were selling pretty well and i don't think steve jobs needs that money! Is apple serious? Where do they get off charging $200 for a ONE TIME PHONE CALL? Just because FCE HD is a "pro" application, apple can't assume that everyone who purchases this product is a "pro" from the start!
    Where else am i supposed to get phone technical support for FCE HD??

    These forums are here to give you technical advice. Admittedly it is not over the phone but it is FREE and lasts for ever.
    Also you will have the collective knowledge of numerous people not just the one "expert" you happen to be speaking to.
    Ian.

  • Selective XML Index feature is not supported for the current database version , SQL Server Extended Events , Optimizing Reading from XML column datatype

    Team , Thanks for looking into this  ..
    As a last resort on  optimizing my stored procedure ( Below ) i wanted to create a Selective XML index  ( Normal XML indexes doesn't seem to be improving performance as needed ) but i keep getting this error within my stored proc . Selective XML
    Index feature is not supported for the current database version.. How ever
    EXECUTE sys.sp_db_selective_xml_index; return 1 , stating Selective XML Indexes are enabled on my current database .
    Is there ANY alternative way i can optimize below stored proc ?
    Thanks in advance for your response(s) !
    /****** Object: StoredProcedure [dbo].[MN_Process_DDLSchema_Changes] Script Date: 3/11/2015 3:10:42 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- EXEC [dbo].[MN_Process_DDLSchema_Changes]
    ALTER PROCEDURE [dbo].[MN_Process_DDLSchema_Changes]
    AS
    BEGIN
    SET NOCOUNT ON --Does'nt have impact ( May be this wont on SQL Server Extended events session's being created on Server(s) , DB's )
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
    select getdate() as getdate_0
    DECLARE @XML XML , @Prev_Insertion_time DATETIME
    -- Staging Previous Load time for filtering purpose ( Performance optimize while on insert )
    SET @Prev_Insertion_time = (SELECT MAX(EE_Time_Stamp) FROM dbo.MN_DDLSchema_Changes_log ) -- Perf Optimize
    -- PRINT '1'
    CREATE TABLE #Temp
    EventName VARCHAR(100),
    Time_Stamp_EE DATETIME,
    ObjectName VARCHAR(100),
    ObjectType VARCHAR(100),
    DbName VARCHAR(100),
    ddl_Phase VARCHAR(50),
    ClientAppName VARCHAR(2000),
    ClientHostName VARCHAR(100),
    server_instance_name VARCHAR(100),
    ServerPrincipalName VARCHAR(100),
    nt_username varchar(100),
    SqlText NVARCHAR(MAX)
    CREATE TABLE #XML_Hold
    ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY , -- PK necessity for Indexing on XML Col
    BufferXml XML
    select getdate() as getdate_01
    INSERT INTO #XML_Hold (BufferXml)
    SELECT
    CAST(target_data AS XML) AS BufferXml -- Buffer Storage from SQL Extended Event(s) , Looks like there is a limitation with xml size ?? Need to re-search .
    FROM sys.dm_xe_session_targets xet
    INNER JOIN sys.dm_xe_sessions xes
    ON xes.address = xet.event_session_address
    WHERE xes.name = 'Capture DDL Schema Changes' --Ryelugu : 03/05/2015 Session being created withing SQL Server Extended Events
    --RETURN
    --SELECT * FROM #XML_Hold
    select getdate() as getdate_1
    -- 03/10/2015 RYelugu : Error while creating XML Index : Selective XML Index feature is not supported for the current database version
    CREATE SELECTIVE XML INDEX SXI_TimeStamp ON #XML_Hold(BufferXml)
    FOR
    PathTimeStamp ='/RingBufferTarget/event/timestamp' AS XQUERY 'node()'
    --RETURN
    --CREATE PRIMARY XML INDEX [IX_XML_Hold] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index
    --SELECT GETDATE() AS GETDATE_2
    -- RYelugu 03/10/2015 -Creating secondary XML index doesnt make significant improvement at Query Optimizer , Instead creation takes more time , Only primary should be good here
    --CREATE XML INDEX [IX_XML_Hold_values] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index , --There should exists a Primary for a secondary creation
    --USING XML INDEX [IX_XML_Hold]
    ---- FOR VALUE
    -- --FOR PROPERTY
    -- FOR PATH
    --SELECT GETDATE() AS GETDATE_3
    --PRINT '2'
    -- RETURN
    SELECT GETDATE() GETDATE_3
    INSERT INTO #Temp
    EventName ,
    Time_Stamp_EE ,
    ObjectName ,
    ObjectType,
    DbName ,
    ddl_Phase ,
    ClientAppName ,
    ClientHostName,
    server_instance_name,
    nt_username,
    ServerPrincipalName ,
    SqlText
    SELECT
    p.q.value('@name[1]','varchar(100)') AS eventname,
    p.q.value('@timestamp[1]','datetime') AS timestampvalue,
    p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') AS objectname,
    p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') AS ObjectType,
    p.q.value('(./action[@name="database_name"]/value)[1]','varchar(100)') AS databasename,
    p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') AS ddl_phase,
    p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') AS clientappname,
    p.q.value('(./action[@name="client_hostname"]/value)[1]','varchar(100)') AS clienthostname,
    p.q.value('(./action[@name="server_instance_name"]/value)[1]','varchar(100)') AS server_instance_name,
    p.q.value('(./action[@name="nt_username"]/value)[1]','varchar(100)') AS nt_username,
    p.q.value('(./action[@name="server_principal_name"]/value)[1]','varchar(100)') AS serverprincipalname,
    p.q.value('(./action[@name="sql_text"]/value)[1]','Nvarchar(max)') AS sqltext
    FROM #XML_Hold
    CROSS APPLY BufferXml.nodes('/RingBufferTarget/event')p(q)
    WHERE -- Ryelugu 03/05/2015 - Perf Optimize - Filtering the Buffered XML so as not to lookup at previoulsy loaded records into stage table
    p.q.value('@timestamp[1]','datetime') >= ISNULL(@Prev_Insertion_time ,p.q.value('@timestamp[1]','datetime'))
    AND p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') ='Commit' --Ryelugu 03/06/2015 - Every Event records a begin version and a commit version into Buffer ( XML ) we need the committed version
    AND p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') <> 'Replication Monitor' --Ryelugu : 03/09/2015 We do not want any records being caprutred by Replication Monitor ??
    SELECT GETDATE() GETDATE_4
    -- SELECT * FROM #TEMP
    -- SELECT COUNT(*) FROM #TEMP
    -- SELECT GETDATE()
    -- RETURN
    -- PRINT '3'
    --RETURN
    INSERT INTO [dbo].[MN_DDLSchema_Changes_log]
    [UserName]
    ,[DbName]
    ,[ObjectName]
    ,[client_app_name]
    ,[ClientHostName]
    ,[ServerName]
    ,[SQL_TEXT]
    ,[EE_Time_Stamp]
    ,[Event_Name]
    SELECT
    CASE WHEN T.nt_username IS NULL OR LEN(T.nt_username) = 0 THEN t.ServerPrincipalName
    ELSE T.nt_username
    END
    ,T.DbName
    ,T.objectname
    ,T.clientappname
    ,t.ClientHostName
    ,T.server_instance_name
    ,T.sqltext
    ,T.Time_Stamp_EE
    ,T.eventname
    FROM
    #TEMP T
    /** -- RYelugu 03/06/2015 - Filters are now being applied directly while retrieving records from BUFFER or on XML
    -- Ryelugu 03/15/2015 - More filters are likely to be added on further testing
    WHERE ddl_Phase ='Commit'
    AND ObjectType <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND ObjectName NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND T.Time_Stamp_EE >= @Prev_Insertion_time --Ryelugu 03/05/2015 - Performance Optimize
    AND NOT EXISTS ( SELECT 1 FROM [dbo].[MN_DDLSchema_Changes_log] MN
    WHERE MN.[ServerName] = T.server_instance_name -- Ryelugu Server Name needes to be added on to to xml ( Events in session )
    AND MN.[DbName] = T.DbName
    AND MN.[Event_Name] = T.EventName
    AND MN.[ObjectName]= T.ObjectName
    AND MN.[EE_Time_Stamp] = T.Time_Stamp_EE
    AND MN.[SQL_TEXT] =T.SqlText -- Ryelugu 03/05/2015 This is a comparision Metric as well , But needs to decide on
    -- Peformance Factor here , Will take advise from Lance if comparision on varchar(max) is a vital idea
    --SELECT GETDATE()
    --PRINT '4'
    --RETURN
    SELECT
    top 100
    [EE_Time_Stamp]
    ,[ServerName]
    ,[DbName]
    ,[Event_Name]
    ,[ObjectName]
    ,[UserName]
    ,[SQL_TEXT]
    ,[client_app_name]
    ,[Created_Date]
    ,[ClientHostName]
    FROM
    [dbo].[MN_DDLSchema_Changes_log]
    ORDER BY [EE_Time_Stamp] desc
    -- select getdate()
    -- ** DELETE EVENTS after logging into Physical table
    -- NEED TO Identify if this @XML can be updated into physical system table such that previously loaded events are left untoched
    -- SET @XML.modify('delete /event/class/.[@timestamp="2015-03-06T13:01:19.020Z"]')
    -- SELECT @XML
    SELECT GETDATE() GETDATE_5
    END
    GO
    Rajkumar Yelugu

    @@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
        May 14 2014 18:34:29
        Copyright (c) Microsoft Corporation
        Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    (1 row(s) affected)
    Compatibility level is set to 110 .
    One of the limitation states - XML columns with a depth of more than 128 nested nodes
    How do i verify this ? Thanks .
    Rajkumar Yelugu

Maybe you are looking for

  • HELP! Colour Profiles

    Hi there, Please help! I have been asked by a client to design a leaflet for his business, it's pretty standard and he wanted colours that are used in his l His logo was designed in Photoshop and I asked for the original file but he only had a high r

  • Restore a .DMP file in Oracle XE

    Hello, I am new to Oracle and I downloaded the XE version for testing purposes. Can anyone tell how I restore a .dmp file? I got the file from a cient and need to run some queries on it. Any help on this would be great. Thanks. Anil

  • Express Install Not Working

    Hello, Im using SWFObject to activate the Expressinstall for flash player versions < 8 but, ExpressInstall doesnt seem to work. Everytime I try it, i get a message asking to "close out the open browser window. When you close the window click continue

  • How do I back up old camera photos from my iphone to my pc to import to my new iphone 4?

    I just recently bought the iphone 4.. and am trying to move my camera photos from my old 3GS to this phone.  Could someone walk me through transferring those photos to my computer so I can sync them with my new phone??

  • Why is Google Calendar now unresponsive in FF 31.0?

    My housemate (an avid Apple user) and I share a Google calendar. Up until about a week ago, I could open Google calendar in Firefox (v31.0) and simply add my events. Now, nothing responds, nothing clicks. If I use Chrome, all is well. FF is my browse