XML toolkit or XERCES + XALAN in portal component Please HELP

Hello,
is there anybody that has succesfully used xalan and xerces in a portal component?
I have an application that requires them but have found no way to have them working in the restricted classloader area of portal component developed in java.
Best case my portal component still uses xml toolkit, worst case, when I try to add them as j2ee or irj libraries, portal does not even boot.
Help needed !
Thanks in advance
Vitaliano Trecca

Victor, Xavier is right.
I have already tried that but does not work. Classloader still finds SAP XML Toolkit factory. I also tried forcing System properties but things go even worst: it affects portal behaviour.
The only working way seems to be to load the parser implementation directly instead from the default factory but this is far from being a clean way.
Any suggestion to ensure my PDK will see Default factories from xerces and xalan and keep off from XMLToolkit?
Regards!
Vitaliano

Similar Messages

  • Need help with Portal Themes -- Please help

    I need help with Portal Themes.  I have read every document I can find but I am having no luck.  All I want to do is change the colors for the Exceptions on one of my queries.  I have created my own Portal Theme where I have changed the colors but I do not know how to assign my newly-created Portal Theme to my query.  Can someone please give me the detailed steps on how to do this? Please help because this is driving me crazy.
    Thanks.
    Ryan

    Hi,
    Refer
    Exceptions - How to change the colors
    This may help.
    Thanks,
    JituK

  • XML driven FLV player with playlist, can someone please help me?

    OK so ive been working for a client recently building him a new site for his racing team and he wants a video jukebox on the "videos section" of the site.
    Now i am the one with the job of updating this jukebox with new videos which he makes (this happens often) so i want updating to be as easy as possible.
    Im new to the use of XML with flash and followed a tutorial to create a dynamic Image Gallery which is really easy to update, all i have to do is drop the files into the right directories in my FTP client and edit the XML file, perfect.
    I want the jukebox to do the same thing.
    I want to have a jukebox with a "video screen" with basic controlls (play/pause, volume, rewind, seek) on the left and a small vertically scrolling menu on the right that contains thumbnails and descriptions of the videos that when clicked changes the content of the video component to play the chosen video.
    I found a tutorial on the adobe site that shows how to achive this through the use of the "video component" and the "list component" in flash 8 HOWEVER, this isnt very pretty and almost impossible to customise due to the list component and i would like to be able to mimic the style of the image gallery i already produced to keep things all nice and uniform.
    i want to use XML to point flash to the source of the FLV files, the source of the thumbnail jpgs and give the text for the description so that its easy to update and use flash's drawing interface to make it pretty.
    Basically i want to reproduce something like this.
    Ive been searching for weeks now and i cant find anything to help me with this, if anyone knows of any tutorials, books, videos or has any idea how to help me it would be MUCH appreciated.
    Thankyou.

    Try this link:
    http://www.taiwantrade.com.tw/MAIN/en_front/searchserv.do?method=listProductComp anyDetail&company_id=163054&locale=2
    There is an email address and telephone numbers.
    Also look on the box and instructions.
    Ciao.

  • New To WL Portal Server - Please Help!!

    Hi-
    I practially started reading about WL Portal server this morning and I
    do not even have an installation accesssible to me. But, I need to
    figure out a quick thing and I am pretty sure that it is staraight
    forward, but due to my ignorance with WL Portal server & portlets, I
    am posting for some getting help and direction..
    I have 2 portlets (PortletA and PortletB) on a page. Portlet A has
    links (news.html, aboutus.html etc). Once the user clicks on one of
    the links on PortletA, the contents of the links should be displayed
    in PortletB. (Similar to frames)...
    Can some one please point me in the right direction, how to do it? I
    will keep looking.
    Thanks for your time and help!
    Prasad

    Your problem lies with the code. You have tried to use the System.setSecurityManager in the applet. Applet unlike standalone application run inside an environment such as a browser, therefore it does not allow to create the security manager. If u do not use System.setSecurityManager(new RMISecurityManager()) u will get the RMI classloader disabled error at the client side. So the solution to this is add the setSecurityManager to the server program

  • Xerces Parser... Please Help.

    Hello,
    I have a problem when I use the XERCES Parser.
    I want to generate a Option FieldType of a HTMLForm.
    My code is:
    Element select = sourceDoc.createElement("select");
       select.setAttribute("name", name);
       select.setAttribute("required", required);
       if (Numitems > 0){
        for(int k=0;k<Numitems;k++){
           Element option = sourceDoc.createElement("option");
           option.setAttribute("value", items[k]);
         select.appendChild(option);
    }and then generate:
    <select name="form/camp1" required="true" value="">
    <option value="hola"/>
    <option value="adeu"/>
    <option value="peich"/>
    </select>
    But I want that the parser result could be:
    <select name="form/camp1" required="true" value="">
    <option value="hola" HOLA </option>
    <option value="adeu" ADEU </option>
    <option value="peich" PEICH </option>
    </select>
    How can I do it??
    Thank you.
    PD:Excuse me my English.

    As I understand you want to add a text to your node.
    option.appendChild(sourceDoc.createTextNode(items[k]));
    that should do it

  • I am getting ORA-06512 On Oracle 10g AS wireless component Please Help

    the error is;
    oracle.panama.messaging.transport.impl.InternalTransportException: transport internal exception: java.sql.SQLException: ORA-01653: unable to extend table WIRELESS.TRANS_STORE by 8192 in tablespace IAS_META
    ORA-06512: at "WIRELESS.TRANSPORT", line 313
    ORA-06512: at "WIRELESS.TRANSPORT", line 681
    ORA-06512: at line 1
    Please let me know if some1 knows how to troubleshoot this...
    Thanks,
    Waheed

    Dear Waheed,
    Thee Error you have pasted is a Bug in Oracle AS Wireless 10g. You need a patch to do it right. Basically this is performance and maintenance issue.
    Its solution is new patch.
    Cheers,
    Saqib Sharif

  • Issue with Value Help not showing in Portal screen Please Help

    Hello Guru's,
    What is the best practice for doing ESS/MSS upgrade.
    Since everytime we upgrade the BP we need to redo all the customizations again in the new track and deploy.
    I have gone through Note 872892 and read the NWDI cookbook.
    I feel there should be some tool (which will tell the differences in Code from one track to other if so how to install and where to install?) or a better way to apply the customizations to the new track when we upgrade the ESS/MSS components.
    Appreciate your help.
    Thanks,
    Pramod

    these links should be handy
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID1620366250DB20044614760992422928End?blog=/pub/wlg/3390
    How to Migrate Developed Software Components to a New Release in NWDI

  • Portal Blueprint please help

    Hi EP guru,
    I was never involve on working with a blueprint before, so i don't know where to start. Could someone please be kind and send me an example of the EP blueprint.
    Thanks so much for your kindness,
    David
    Edited by: Anja Kloetzer  on Apr 9, 2009 7:46 AM
    No email adresses please - check the forum rules

    I ended up creating my own Blueprint from scratch.

  • Read properties file in abstract portal component

    Hi,
    i have test.properties file, i want to read information on this file and its located in src.api/properties . if any one knows How to read this  properties file in abstract portal component please tell me.
    Regards,
    nari.

    Hi Nari,
    Follow the below steps:
    1. Store your properties files (test.properties, test_en.properties, test_xx.properties where xx is the locale ) in the folder PORTAL-INF ->Private ->classes
    2. In portalapp.xml for component-config, add this
    <property name="ResourceBundleName" value="test"/>
    3. In your abstract portal component you can use the below code to fetch the value for the key "SERVER_NAME".
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
             ResourceBundle resourceBundle = request.getResourceBundle();
             if(resourceBundle!=null)
                  response.write(resourceBundle.getString("SERVER_NAME"));
             else
                  response.write("Error");
    Let me know if you still face any issue.
    Thanks
    Prashant

  • How to create Task Wizard iView in Portal Component

    Hi All,
    I want to customize the Create Request for Nomination which is in Task Wizard iView (portal content/portal users/standard portal users/com.sap.workflow.iviews/Task Wizard)
    This iView created in Webdynpro application. I want to create this iView in portal component. kindly help me to develop.
    I seen the createTask API for webdynpro in help.sap.
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/94b9b2b321581ce10000000a1553f7/frameset.htm
    anybody know the create Task API for Portal.
    Thanks,
    Thillai.

    Need to do custom develop

  • HT201303 How do I change the security question in my apple account, I could not find editing the security questions and answers in manage account portal Please help

    I have forgot my security questions and answers but I remeber my apple id and password. i couldn't make a purchase in mac app store without answering security questions. i could find a way to change the security questions in Manage account portal. Please help.

    Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities

  • Anonymous access to Portal Component over direct URL.

    Hi All,
    Im having a few Issues with enabling anonymous access to a portal component.
    Here is a mock of our portalapp.xml file
    <?xml version="1.0"  encoding="iso-8859-1"?>
    <application>
      <application-config>
        <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
        <property name="startup" value="true"/>
        <property name="releasable" value="true"/>
        <property name="Vendor" value="com.ourdomain"/>
        <property name="SecurityArea" value="OurSecurityArea"/> -->
      </application-config>
      <components>
        <component name="MyComponent">
          <component-config>
            <property name="ClassName" value="com.ourdomain.MyClass"/>
            <property name="ComponentType" value="servlet"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    I want to be able to access the servlet over a URL like...
    http://host:port/irj/servlet/prt/portal/prtroot/MyApp.MyComponent
    I have added the Default User Group Everyone to the no_safety area of our com.ourDomain Security Zone.
    However when try to navigate to the URL we are first faced with a SAP Portal login page. on successful login the servlet is then shown.
    Note: I was able to get the Same Servlet working within an iView when the iViews Authentification Scheme was set to anonymous...However i am under instruction to get it working without the iView...
    As Background, The servlet is to be a sink for accepting data sent via an HTTP Post.
    Any help with this or pointers in the right direction would be greatly appreciated.
    -Paul

    Hi Darrell,
    Thankyou for that, yes it has helped....And I can now access the servlet directly without need to login.
    I figured that there was something that i was missing.....
    -Paul

  • Error while running a portal component.

    Hi,
    I am not able to access portal service from an abstract portal component that I created in the same project as the portal service. Here is the error I am getting:
    Portal runtime error.
    "An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 11:45_15/01/09_0068_15350950
    Refer to the log file for details about this exception."
    Here is the portalapp.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <application>
    <application-config/>
    <components>
    <component name="AOSTestComp">
    <component-config>
    <property name="ClassName" value="com.gfc.ume.service.AOSTestComp"/>
    </component-config>
    <component-profile/>
    </component>
    </components>
    <services>
    <service name="OfficeListService">
    <service-config>
    <property name="className" value="com.gfc.ume.service.OfficeListService"/>
    <property name="startup" value="false"/>
    </service-config>
    </service>
    </services>
    </application>
    Here is the code for the service:
    public interface IOfficeListService extends IService
    public static final String KEY = "OfficeListService";
    public String testMyService(String user);
    Here is the code for the component:
    package com.gfc.ume.service;
    import com.sapportals.portal.prt.component.*;
    import com.sapportals.portal.prt.runtime.IPortalRuntimeResources;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    import com.sapportals.portal.prt.service.IService;
    public class AOSTestComp extends AbstractPortalComponent
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    IPortalRuntimeResources runtimeResources = PortalRuntime.getRuntimeResources();
    IService aService = runtimeResources.getService(IOfficeListService.KEY);
    IOfficeListService myService = (IOfficeListService)aService;
    response.write(myService.testMyService("Longivity"));
    Thanks
    Tony

    Tony,
    this is Java Web Dynpro forum.You already have posted this same question twice in Portal forums. This is third time. please dont do so. We have to keep SDN clean (no redundancy).
    Regards,
    Yogesh Varma

  • Portal Component receives GET from other app out of the Enterprise Portal?

    Hello.
    I want to design a portal component, to which i can send GET-Parameters via URL.
    The sending application runs out of the enterprise Portal and has a simple HTML-form (The portal component generates HTML and JAVA-Script for a Flex Application in the Enterprise Portal which should point to a specific document named in the params. The params will be written into the generated HTML document after calling).
    Is this possible without authetification and how would the URL looks like, which is used to call the enterprise portal?
    Pls help me.
    With best regards
    Edited by: Björn Karpenstein on Aug 15, 2008 11:02 AM
    Edited by: Björn Karpenstein on Aug 15, 2008 11:03 AM
    Edited by: Björn Karpenstein on Aug 15, 2008 11:05 AM

    Hi Björn,
    you can access request parameters with the following code in the standard methods of your Portal Component:
              // IPortalComponentRequest request;
              request.getServletRequest().getParameter("ParamName");
    The direct URL of your Portal Component without a specific iView is:
    http://
    If your component should be directly accessable without authentication you must add the following property in your portalapp.xml in the the component-profile section:
          <component-profile>
            <property name="AuthScheme" value="anonymous"></property>
          </component-profile>
    Best regards,
    Stefan Brauneis

  • Validate xslt against JDK5 so we can remove the 'Use SAP XML Toolkit' flag

    We are working on PI7.1 and have hit an issue with an XSLT mapping. We were getting an error when testing that said:
    TransformerException during XSLT processing:
    javax.xml.transform.TransformerException: com.sun.org.apache.xalan.internal.xsltc.TransletException: com.sun.org.apache.xalan.internal.xsltc.TransletException: java.io.FileNotFoundException
    We found a few threads on SDN pointing us to using the 'Use SAP XML Toolkit' flag, which we'd not even noticed before. Ticking this flag did get us around the problem. Further investigation suggested to us, however, that this flag will not be available in future releases, so I guess our best solution would be to try and resolve the issues in our mapping against the current version of java (JDK5). When we use other tools such as XMLSPY they do not detect a problem with the XSLT. Can anyone point me to a tool that would enable us to validate our XSLT file against JDK5, which will provide us with error messages that will enable us to fix the error and therefore remove the 'Use SAP XML Toolkit' flag?
    thanks,
    Malcolm.

    > Can anyone point me to a tool that would enable us to validate our XSLT file against JDK5, which will provide us with error messages that will enable us to fix the error and therefore remove the 'Use SAP XML Toolkit' flag?
    I am sorry to have to say that even inside SAP nobody can answer this question.
    In principle it will work when it is pure XSLT 1.1 but some commands from XSLT 2.0 might work also.

Maybe you are looking for

  • Non-free apps in the iOS Free-Topcharts

    Hey, since a couple of days I often see apps in the iOS Appstore's topcharts "free"-section, which are not free?! Today there is a 4,49€ at the 1.place of the "free-charts". See screenshot... How could that be? If I decide to download one of these ap

  • My Safari was rudely reset and I lost all of my Top Sites.

    Is there any way to restore Safari in order to get those sites back? I never really bothered learning the URLs. And this is while running OSX Snow Leopard.

  • My MacBook Pro shuts off and then Internet won't work!

    Okay so my MacBook Pro used to work perfect but then one day it just shut off then didn't turn back on for like 10 mins! And my charger didn't work so I figured I just had to unplug the middle part! But when I start it back up there are pop ups askin

  • Problems with saving a file

    Hello, Im having problems with saving files on my computer, from Mail and Safari. I have 900gb free diskspace, but i simply cant save anyhow, it says my disk is full. Have i accidentally locked something up? Regards, Niclas

  • How to re-download Image Capture?

    A couple weeks ago I was cleaning out my apps and deleating apps I never use. In my haste I assumed that Image Capture was one of the apps that I had downloaded for my photography business but didnt end up using. At the time I didn't realize that it