JSP import fails unless Jars are included in the PAR

Hello,
We have a simple EP6 iView for displaying the Universal Worklist entries (UWL) using a JSPDynPage.
We import the UWL library symbols and compile/use them in the Java code without problems (e.g. import com.sap.netweaver.bc.uwl.Item; )
The following entry is made in the portalapp.xml file to make sure the UWL symbols are found at runtime:
     <property name="ServicesReference" value="SAPJ2EE::library:tckmcbc.uwl~api"/>     
The problem occurs when we try to import the UWL symbols into our JSP with this code:
     <%@ page import="com.sap.netweaver.bc.uwl.Item" %>
The UWL symbols are just not found.  Here are the exception headers:
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
Component : pcd:portal_content/MikesFolder/com.lds.mlp.MikesTest1
#1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: D:/usr/sap/EP1/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/mikestest1/work/pagelet/_sapportalsjsp_helloiviewpage.java:22: package com.sap.netweaver.bc.uwl does not exist
import com.sap.netweaver.bc.uwl.Item;
                                ^
1 error
Now if I add the bc.uwl.service.api_api.jar into PORTAL-INFlib everything is fine.  However this seems like such a 'hack'.  We really shouldn't be distributing a system file in our PAR.
This person seems to have had the same problem with the system mail jars ( JSP MAIL ERROR ).
Can anyone please shed some light on this problem?  Do we really have to distribute the system jars to make this JSP import work properly?
Thanks & Cheers,
Mike Pastor
"always generous with points"

Hi,
This is exactly the portalapp.xml of the sap application com.sap.netweaver.bc.uwl.par
check out the difference between this and yours?
Dont miss out on anything important here. I think it should work.
If you are still facing problem only while using in jsp I have a cure.
Write a clean java class in your app which queries the apis in this jar.
Also add sharing reference to this application in your portalapp.xml. Query your class in your jsp rather than the "standard jar"
<?xml version="1.0" encoding="utf-8"?>
<application>
  <registry>
    <entry path="/runtime/hooks/deployment/UniversalWorklistDeploymentHook" name="UniversalWorklistDeploymentHook" type="service"/>
  </registry>
  <application-config>
    <property name="startup" value="true"/>
    <property name="releasable" value="true"/>
    <property name="ServicesReference" value="SAPJ2EE::library:tckmcbc.uwl~api,SAPJ2EE::service:webdynpro,com.sap.portal.runtime.system.inqmy, com.sap.portal.ivs.connectorservice,com.sap.portal.ivs.systemlandscapeservice, urlgenerator, com.sap.portal.usermapping, usermanagement, com.sap.portal.runtime.application.rfcengine,com.sap.portal.runtime.config,knowledgemanagement"/>
    <property name="PreservedConfigPaths" value=""/>
    <property name="Vendor" value="sap.com"/>
    <property name="SecurityArea" value="NetWeaver.KMC"/>
  </application-config>
  <components/>
  <services>
    <service name="com.sap.netweaver.bc.uwl" alias="UniversalWorklistService">
      <service-config>
        <property name="className" value="com.sap.netweaver.bc.uwl.core.portal.UWLPortalService"/>
        <property name="classNameFactory" value=""/>
        <property name="classNameManager" value=""/>
        <property name="poolFactory" value="0"/>
        <property name="startup" value="true"/>
        <property name="SafetyLevel" value="low_safety"/>
      </service-config>
    </service>
    <service name="UniversalWorklistDeploymentHook">
      <service-config>
        <property name="className" value="com.sap.netweaver.bc.uwl.core.portal.UWLDeploymentHook"/>
        <property name="classNameFactory" value=""/>
        <property name="classNameManager" value=""/>
        <property name="poolFactory" value="0"/>
        <property name="startup" value="true"/>
        <property name="SafetyLevel" value="low_safety"/>
      </service-config>
    </service>
  </services>
</application>

Similar Messages

  • What types of samples are included with the EXSP?

    I'm considering purchasing Logic Express, but wanted to know what types of samples (orchestral, synth, drum, keyboard, etc) are included with the EXSP player. Can anyone owning Logic Express tell me what types of samples are included?
    Mac G5   Mac OS X (10.3)  

    Hello, Jeb247.
    This is merely a matter of personal opinion, but I believe that the included samples for EXSP are among the better features of the program. Granted, there are some cases where you have several instruments loosely based on the same samples run through different filters, but you are likely to find a decent array of what you need.
    You get all the Garageband instruments, as well as the ability to load the Jam Packs into EXSP. While the following list probably contains some overlap with those samples, it will still give you an idea of what's out there:
    The top-level hierarchy lists 41 different groups of sounds. After each listing, I'll note the approximate number of 'instruments' in each group:
    Piano (10)
    Guitars (11)
    Bass (5)
    Strings (9)
    Horns & Winds (9)
    Ethnic Instruments (2)
    Voices & Choir (3)
    Drum Kits (12)
    Effects(~50)
    Percussion & Specials (2)
    Analog: Bass (45), Leads (20), Pads (17), Percussive Waves (44), SpectrumSQ (25), Sweeps (30), Synthcomp (33), Waveforms (50+)
    Digital Chromatic Kits (12), Initial Waveforms (60+), Motion & FX (36), Pad Synths (46), Percussive Waves (23), Synths (31)
    FM Bass (17)
    Synth Atmospheres Layers (31), Singles (40)
    Synth Bass (45), Brass (12), Chords (21), Leads & Hooks (30), LFO Synths (21), Multi Sequence (6), Pads (44), Percussive Synths (44), Poly (28), Sidechain Chords (14), Spacious Effects (40), Strings (16), Sweeps & Swells (32), Vocalish (25)
    Now, as to the quality of the sounds... your mileage may vary. For orchestral stuff, nothing appeals to my ears like the Kurzweil -- largely because of those smooooooooooth output filters. That's not to say that the EXSP stuff isn't worth checking out; I just happen to use it for electronic textures and percussion rather than acoustic emulations. The drums simply don't cut it for me -- not nearly enough punch. But -- as I've mentioned before, you ears may report different pleasure levels.
    Suffice it to say that the EXSP comes with a substantial array of music-making potential. For the money (a freebie w/ Logic Express) it's a really good deal. Shortcomings in its sound set can be overcome by the careful purchase of additional material where your ears report unsatisfactory sounds. If you don't like the drums, iDrum or Battery might be a good idea (or my personal favorite: an outboard drum machine with dead-short latency...); if the orchestra stuff is weak, there are alternatives there, too.
    And your options for synth textures are beyond counting -- though I can specifically recommend the utterly astounding (and free!) Alphakanal "Automat". And you can have a pile of fun with the (equally free) NUSofting daHornet. And... and... the list goes on.
    Cheers,
    Michael

  • [svn] 3968: Fix for - ASDoc fails if example code included by the @ includeExample tag contains an "&"

    Revision: 3968
    Author: [email protected]
    Date: 2008-10-30 10:45:04 -0700 (Thu, 30 Oct 2008)
    Log Message:
    Fix for - ASDoc fails if example code included by the @includeExample tag contains an "&"
    Also fix for broken links with $$ symbol.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17830
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17830
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    Revision: 3968
    Author: [email protected]
    Date: 2008-10-30 10:45:04 -0700 (Thu, 30 Oct 2008)
    Log Message:
    Fix for - ASDoc fails if example code included by the @includeExample tag contains an "&"
    Also fix for broken links with $$ symbol.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17830
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17830
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

  • After you have installed Flash, you should go through the lessons that are included in the program

    Where to Start?
    After you have installed Flash, you should go through the lessons that are included in the program. Start Adobe Flash, click Help in the menu and choose Lessons. These lessons will teach you the basics of Flash.
    This is from W3 Schools on the Flash site.
    I hve no idea how to do this!

    Ask in the Flash forum.

  • Hi, I wanna know which app's are included in the Creative Cloud licence. Are some of them trial o life time?

    Hi, I wanna know which app's are included in the Creative Cloud licence. Are some of them trial o life time?

    Please check the app list from Explore Adobe desktop apps | Adobe Creative Cloud there are no products for life time trial, you will need to purchase within 30 days.
    Regards
    Rajshree

  • Finding out the OH that are included in the process chain

    Hi,
    Please let me know how to find out the list of OH which are included in the process chain and which are not included.
    Is there any way where i can find out these OH are included in the Process chain.
    Regards,
    Prem

    Hi,
    http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/43/7a69d9f3897103e10000000a1553f7/frameset.htm
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/01d3a090-0201-0010-9783-bc33ab690e70?QuickLink=index&overridelayout=true

  • No updates unless clients are connected to the Internet.

    I'm fairly new to this, so please forgive me if my terminology is off.  I've just come into a new organization and don't really know much about how everything is laid out yet (first week here).  The other IT guys throughout the organization have
    been attempting to set up WSUS at three separate locations. Their first plan was to set up a central WSUS at a single location and have the updates be pushed out over the VPN. This did not work for them, so they decided to set up a WSUS server at each location.
    To make a long story short, one location is working without issues, but at another location's workstations are not updating via WSUS unless they are connected to the Internet. Has anyone else experienced this issue? 

    WSUS can be implemented a number of ways. One of the methods, is to use WSUS only for the approvals but update files are downloaded from microsoftupdate.com.
    Your scenario sounds a little like that.
    you should check the windowsupdate.log of a few client machines, which should reveal a lot about what's happening.
    You should also check the configuration on each of the WSUS servers, to determine the upstream/downstream/autonomous/replica status of each WSUS, and, each will have a configuration setting for "where to store update files" (store updates locally).
    http://technet.microsoft.com/en-us/library/dd939859(v=ws.10).aspx
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Why All Podcasts Files Are Included In The Music Playlist????

    I am desperate for an answer!!! I have searched online for hours and could not find a solution to this! I have the 5th Generation iPod and everything was fine in the beginning. I recently discovered all my podcast files are listed in the music playlist and this is very annoying because the podcasts are included in the library of songs! When I want to listen to songs, I just wanna listen to songs ... NOT PODCASTS! Why can't the iPod differentiate a podcast file with a music file? They lump them altogether in the music playlist!!!! Under the Podcast category, I found podcasts there also! Which means, the podcasts files are duplicates!!!
    In a summary, this is what's happening:
    1.) Podcast files are grouped in Podcasts playlist in iTunes. Music library does not show them - this is ok, everything's normal here
    2.) Podcast files are listed in Podcast playlist in iPod - this is ok, as it should be
    3.) Podcast files are listed in Music playlist in iPod - WHY????
    I would appreciate some answers to this bizarre problem!!!
    Thanks, guys!!!
    Irene

    well.....to get the podcasts out of the artists menu (if you don't mind them in the compilations menu) you have to go to the podcast's info and press "yes" for compilations. I hope that helps some of you because that isn't really my problem. Because i have a lot of podcasts there is a long list of them in the songs menu and that makes me angry. I wonder if Apple can make an update so that you can choose to have your podcasts in the Artists and Songs menus. If any Apple worker sees this, please do.
    I also have been looking in the internet for answers to this and i have found that the only reason that this is useful if you want to hear a series of podcasts without having to choose a single one every single time.
    I don't know if i read this here, but whoever said that iPods aren't perfect because of this flaw, then they are wrongs. How come they are rightly grouped in iTunes?
    I forgot to mention this. The solution posted doesn't work because:
    1. I erase all the podcast from iTunes and only keep them in my iPod.
    2. I had to erase all my songs from iTunes because i had to format my computer. Yes, it was stupid because i could have backed them up, but i forgot.
    3. When you sync something, you erase everything you have right now. It would take too long to download all the podcast and too much money to buy all the songs.
    Message was edited by: Ivan_G

  • What Fiori Apps are included with the ERP on HANA Trial?

    Is there a list of the Fiori apps that are included with the trial? This page mentions 60+ Fiori apps but there are 500 now available
    Is the full list of Fiori apps available and the page just not updated?

    hello,
    the Trial version was delivered last June, you can find the detailed Fiori list in the User Guide (as delivered in June 2014).
    The trial version will be updated in June 2015 again, with updating the Fiori Apps.
    best, Xiaohua

  • Schema Import failed :IMP-00008: unrecognized statement in the export file:

    Hi ,
    I was running a database schema import from a database DMP file.
    I encountered the following error in the log file that was getting generated :
    IMP-00008: unrecognized statement in the export file:
    All the tables got copied except for one. Now what I have thought of is to import that one table again after taking an export from the prod schema.
    But what about the functions,triggers,procedures ?? How do i bring all of them in the schema ?
    If reimporting the schema again the only option ?
    Thanks
    Kk

    Hello,
    In this order:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023988
    Table Objects: Order of Import
    Table objects are imported as they are read from the export file. The export file contains objects in the following order:
    1. Type definitions
    2. Table definitions
    3.Table data
    4.Table indexes
    5. Integrity constraints, views, procedures, and triggers
    6. Bitmap, function-based, and domain indexes
    The order of import is as follows: new tables are created, data is imported and indexes are built, triggers are imported, integrity constraints are enabled on the new tables, and any bitmap, function-based, and/or domain indexes are built. This sequence prevents data from being rejected due to the order in which tables are imported. This sequence also prevents redundant triggers from firing twice on the same data (once when it is originally inserted and again during the import).
    For example, if the emp table has a referential integrity constraint on the dept table and the emp table is imported first, all emp rows that reference departments that have not yet been imported into dept would be rejected if the constraints were enabled.
    When data is imported into existing tables, however, the order of import can still produce referential integrity failures. In the situation just given, if the emp table already existed and referential integrity constraints were in force, many rows could be rejected.
    A similar situation occurs when a referential integrity constraint on a table references itself. For example, if scott's manager in the emp table is drake, and drake's row has not yet been loaded, scott's row will fail, even though it would be valid at the end of the import.

  • What apps are included in the Creative Cloud Photography plan?

    I see that Photoshop CC and Lightroom 5 are included, but what about Bridge CC?

    Hi,
    Yes it's included :
    New Photoshop CC 2014 complete with Bridge CC and Adobe Camera Raw (ACR)
    New Lightroom 5 for desktop plus Lightroom Mobile for iPad & iPhone
    2 GB of Cloud storage, plus unlimited online photo storage in Lightroom Web
    Seamless integration with the powerful new Photoshop Mix mobile app
    Access to hundreds of exclusive online video tutorials in Creative Cloud Learn
    Continuing upgrades and updates for all included applications and services
    Download and use of prior Photoshop releases (CC 2013, CS6) if desired
    Install all desktop applications on up to two of your computers
    Easily move the products between different systems you own
    No previous purchase necessary, and no prior software required
    Regards,

  • When replying to a message with attached images, those images are included in the reply. I don't want that.

    I received an email from a friend with two attached images with "Content-Disposition: inline". When I replied to the message to say "hey, cool," those messages were included in the quoted message and attached and sent with my reply. That really shouldn't be the default behavior, and even if someone thinks it should be, there has to be a way to turn it off, right?
    Please tell me how to turn it off.
    Google searches turn up posts by frustrated users going all the way back to 2008, and there seems to be no answer better than "manually delete the photos each time".

    OK, so if a message contains images as part of signatures, it wouldn't necessarily be correct to delete them. So we're left with doing it on a case by case basis.
    People who don't like graphic content use plain text; this would automatically dispose of inline graphics content (though not true attachments).

  • I have OSX Maverick on an iMac using Outlook e-mail.  PDF attachments are included in the e-mail  as the whole document rather than just the PDF icon.  How can i have just the PDF icon as an attachment?

    In Outlook my PDF attachments appear as whole documents and not just the PDF icon.  How can I have attachments included as PDF icons and not the documents?

    For your own viewing, you can of course control-click on the attachment and select "View as Icon".
    For others' viewing, it depends upon their email reader.  To ensure that attachments are not displayed expicitly you can put them all in a zip file (via control click and "Compress") then attaching them, or you can use third party stuff like Attachment Tamer.
    charlie

  • After importing from iPhoto, Originals are still in the iPhoto Library

    I have imported my iPhoto library in the Aperture but when I look to see where the originals actually reside I see that they are still saved in the iPhoto Library directory structure.
    How can I make sure that all the previous iPhoto pictures have the master copy in the Aperture?
    Please advise. Thanks.
    G5 Dual 2Ghz (June 2004 model), MacBook Pro   Mac OS X (10.4.3)  

    Be careful about deleting the iPhoto library. iPhoto supports videos and several image formats Aperture does not support. If you delete the library you will lose them. Aperture will tell you that there are items it could not import, but it will not tell you what they are!

  • What files are included in the OSX Server backup?

    Hey,
    I'm a bit worried about my mail database on my OSX 10.8 Server.
    I'm using Time Machine all the time to backup the server but I'm not quite sure if the mail database (send/recieved/folders/users) of all my accounts are saved with Time Machine or not.
    Does anyone know what directories are saved using Time Machine on a Server? Was digging through the backup but it told me I don't have rights to view the filders :/ bummer
    Thanks in advance

    Hello Daniel,
    For the list of supported 'filetypes' which the ESA should be able to identify is when you click on attachment-filetypes on the content filter, the drop down would give a general classification as well as the list of supported extension.
    If you do not see the extension within the list here, then the suggested workaround is to use regex matching for the extension file names.
    attachment file info -> filename -> contains -> (?i)(\.(java|jar|js|jsx|jse|job))
    Regards,
    Matthew

Maybe you are looking for