Handling resource properties

Hello,
I would like to develop an application for article management like it is in SDN->Articles. Therefore I would like to use the KMC-API by adding some properties to the resource and store and retrieve them in my application.
Could someone tell me how to use resource properties in WD4J? Has someone examples?
Thx, Vanessa

Hi,
These blogs are good for a start [Blog 1|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1750]   [Blog 2|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11509]#1]  will get you started.
Also these articles [Article 1|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3095f14c-29c5-2b10-f69e-edcb6f0f1367] [Article 2|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b492c-7d76-2a10-86aa-e11e8388fde8] will also help you
Regards
BP

Similar Messages

  • An Error Message when loading a Resource.properties File

    Hi, all:
    I tried to load a Resources.properties file in a JSP page:
    <%@ page import="java.util.*" %>
    <%
    ResourceBundle rb = null;
    try {
    rb = ResourceBundle.getBundle("Resources");
    } catch (MissingResourceException e) {
    rb = null;
    throw new RuntimeException("The resource is missing!");
    %>
    Test
    When I run it, I got the following error message:
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    Any ideas what's going on here?
    Thanks
    Jeff

    Hi,
    I had a similar error just a few days ago. I could solve it by replicating the datasources again and activating the transfer structures via rs_transtru_activate_all. After that the load went fine.
    regards
    Siggi

  • SNP with handling resource in order to forward PurchReq

    I´m using SNP, with standard situation, just a safety stock form Raw material and once Stock Level falls down of SS, system place a PurchReq, I have a problem due to during 3 weeks per year, plant is not able to receive, purchreq, so I need to place them forward till the first date available,
    I have used a handling resource but is only detected with Optimizer, the problem is that I am working with a fix lot 155000 m3 but optimizer does not respect this lot
    Could you please help me to sort out this issue?
    Thanks in advance

    Hi Rafael,
    You need to create time stream and assigned to respective plant.
    Go to /sapapo/loc3 under Calendar tab you need to assign shipping calendar/receiving calendar.
    You are done.
    Regards,
    Harshil Desai

  • Af:table with resource properties

    Hi,
    In my project i have a jspx page and inside I define a PannelTabbed and table like this:
    I want to call values from language resource properties
    <af:panelTabbed>
    <af:showDetailItem text="#{res['tab.five.header']}" id="sdi6">
    <af:table emptyText="" rows="20" width="540px" id="Table" var="res" summary="SignedTran" > -->
    <af:column sortable="false" headerText="#{res['tab.five.col.one.header']}" id="c3" rowHeader="true" width="179px" >
    <af:outputText value="#{res['tab.five.col.one.row.two']}" id="ot2"/>
    <af:outputText value="#{res['tab.five.col.one.row.two']}" id="ot3"/>
    </af:column>
    <af:column sortable="false" headerText="#{res['tab.five.col.two.header']}" id="c2" width="179px" >
    <af:outputText value="#{res['tab.five.col.two.row.two']}" id="ot21"/>
    <af:outputText value="#{res['tab.five.col.two.row.two']}" id="ot31"/>
    </af:column>
    </af:table>
    </af:showDetailItem>
    </af:panelTabbed>
    When I execute this page it shows column header(s) but no rows.
    Any suggestion for this problem??
    Thanks.
    syed

    Use an IDE like JDeveloper for developing such code so it will be easily debugged.

  • Adding resource.properties files to air package.

    I'm struggling adding my locale-de_DE-resource.properties and other files to my AIR
    They got ommitted from resulting AIR file and tehrefore my app doesnt work.
    locale folder attached like source folder in my project.
    Please advise.

    Im using Flash builder 4.01.
    Interesting thing is that flash builder include other files, if I rename file to resource.propertiesXX it includes it into package. What is so special with resource.properties files that they ommited from package?

  • How to handle multiply properties.files in combined applications

    I have some applications bundled into one jar for each application. The applications make all use of a properties.file in it's own /resources/ folder within the jarfile.
    To avoid running each application on the desktop with it's own JVM and as seperate programs, I wrote a menuprogram which can start the applications within a splitted pane. Left pand is a JTree menu, right side is the applicationspace. This way i have only one JVM active and all app's can be accessed from within a single window. This menu applications also has it's own properties.file.
    I noticed that the applications now all use the same properties.file which is actually not correct. The file used is the one which belongs to the menu application.
    So i have : menu.jar, app1.jar, app2.jar, appn.jar
    The menu.jar is started and from within this application i run the other applications (jInternalFrames). All apps seems to see only the properties.file within the menu.jar IMHO because i create the objects from app1, app2 and appn from within the menu.
    QUESTION:
    How can i change the code to force each app.object to use the propsfile delivered in his own jar-file?
    Here's a code snippet used in each application.
    setPropertiesFileName("/resources/application.properties");
    try {
    is_ = getClass().getResourceAsStream(propertiesFileName);
    props.load(is_);
    catch(Exception e){
    // Debug Props
    setDEBUG_LEVEL(props.getProperty("DEBUG_LEVEL"));
    setTRACE_ENABLED(props.getProperty("TRACE_ENABLED"));
    ...

    You can do this, but is it generally a bad idea which can turn into a nightmare to manage.
    Instead each application should use a different properties file. Is there a good reason every application proeprties must have the same name and path?

  • Parallel Processing : How to Handle Resource failure?

    Hi,
    I have implemented the parallel processing/ asynchronous rfc call in my system because we have to process millions of records and processing is important. My Program does work fine in Development and quality for small number of records but during SVT I am encountering RESOURCE_FAILURE exception. As of now I have tried to wait for more time and then process it again and also on failure I have tried to process sequential but nothing worked with second approach that is on resource_failure execute normal FM call it is resulting in terminating Parallel processing.
    Any Pointer on how to handle it is appreciated.
    Regards,
    Deepak Bhalla

    <b>Handling the RESOURCE_FAILURE exception:</b> As each parallel processing task is dispatched, the SAP system counts down the number of resources (dialog work processes) available for processing additional tasks. This count goes up again as each parallel processing task is completed and returns to your program.
    Should your parallel processing tasks take a long time to complete, then the parallel processing resources may temporarily run out. In this case, CALL FUNCTION returns the exception RESOURCE_FAILURE. This means simply that all dialog work processes in the RFC group that your program is using are in use.
    Your program must now wait until resources become available and then re-issue the CALL FUNCTION that failed. In the sample program, we use a simple, reasonably failsafe wait mechanism. The program waits for parallel processing tasks to return, freeing up resources. The WAIT also specifies a initial timeout of 1 second. If the CALL FUNCTION again fails, the WAIT is repeated with a longer time-out. You can increase the time-outs if you expect that your parallel tasks will take longer to complete. You should also add code to exit from the retry loop after a suitable number of iterations.
    Use WAIT statement.
    Hope this resolves u r issue.
    - Raj

  • Error on bean:message and resource properties file ??

    Hi everyone! I'm new to struts and i just can't figure out why tomcat's giving me an error. I've manage to run a simple example but when i use the bean:message tag i get this error
    ERROR IS:
    java.lang.NullPointerException
         org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1175)
         org.apache.struts.taglib.TagUtils.message(TagUtils.java:1038)
         org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:224)
         org.apache.jsp.index_jsp._jspx_meth_bean_message_0(org.apache.jsp.index_jsp:135)
         org.apache.jsp.index_jsp._jspx_meth_html_html_0(org.apache.jsp.index_jsp:101)
         org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:69)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Can anyone help me with this problem?
    my ApplicationResources.propeties file is in WEB-INF/classes
    index.jsp
    <%@ page language="java" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <html:html locale="true">
    <head>
        <title> <bean:message key="index.title"/> </title>
    </head>
    <body>
    <html:link module="/exercise" action="/welcome">Taglib Test Pages</html:link>
    </body>
    </html:html>
    web.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
      "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
      <!-- Action Servlet Configuration -->
      <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
        <!-- Resources bundle base class -->
        <init-param>
          <param-name>application</param-name>
          <param-value>ApplicationResources</param-value>
        </init-param>
          <!-- Context-relative path to the XML resource containing Struts configuration information -->
        <init-param>
          <param-name>config</param-name>
          <param-value>/WEB-INF/struts-config.xml</param-value>
        </init-param>
        <!-- The debugging detail level for this servlet, which controls how much information is logged. -->
        <init-param>
         <param-name>debug</param-name>
         <param-value>2</param-value>
        </init-param>
        <init-param>
         <param-name>detail</param-name>
         <param-value>2</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <!-- Action Servlet Mapping -->
      <servlet-mapping>
        <servlet-name>action</servlet-name>
        <url-pattern>*.do</url-pattern>
      </servlet-mapping>
    <!-- The Welcome File List -->
      <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
      <!-- Struts Tag Library Descriptors -->
      <taglib>
        <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
      </taglib>
      <taglib>
        <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
      </taglib>
      <taglib>
        <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
      </taglib>
      <!-- Application Tag Library Descriptor -->
      <taglib>
        <taglib-uri>/WEB-INF/app.tld</taglib-uri>
        <taglib-location>/WEB-INF/app.tld</taglib-location>
      </taglib>
    </web-app>Please help..thanks in advance

    I have that on my struts-config.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE struts-config PUBLIC
              "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
              "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
    <struts-config>
      <form-beans>
    </form-beans>
      <global-forwards>
      </global-forwards>
      <action-mappings>
      </action-mappings>
      <message-resources parameter="ApplicationResources"/>
    </struts-config>and I also include it on my web.xml file
    <!-- Resources bundle base class -->
        <init-param>
          <param-name>application</param-name>
          <param-value>ApplicationResources</param-value>
        </init-param>

  • How does Oracle handle resource files?

    Good day everyone,
    I have a Java code that opens a text file. When I load this code into Oracle using loadjava, I also load in the text file as a resource file. When I run the code on Oracle (after publishing all necessary Java code), I get a NullPointerException, because it can't find the text file when I try to open it. I get no resolve errors when I user loadjava.
    How can Java inside Oracle open external text files?
    Thanks in advance for your help,
    Gary

    I think you should rewrite your code using the following.
    FileWriter fw = new FileWriter(getServletContext().getRealPath("/testfile.txt"));
    FileReader fr = new FileReader(getServletContext().getRealPath("/testfile.txt"));It works for me.

  • How to handle resource conflicts when adding nonworking time.

    I am creating a project plan in MS 2013.  It is a calculate from finish date style T minus tasks before project finish project setup.
    When I enter Nonworking days for the first resource, everything is fine.  Then, when I enter the second resource that is off on that same week, I get a conflicting resource error msg.  asking me to change the non working days or the nonworking
    type.
    It is Christmas and team members will be off at the same time during Christmas week and New Years week.  How do I manage this within MS Project 2013?

    Hi,
    I deleted the duplicated thread.
    What error message do you have exactly?
    I'd suggest you to create a project calendar and enter in it the holidays as exceptins, since it is much more easy than entering Christmas holidays for all resources. You shouldn't have any error message doing this. Please test it and tell us if it works.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Assign loading / handling resource to location through ABAP program

    Hello Experts,
    I have a requirement where by I have to assign loading / unloading resource to a location through ABAP program. Need to assign the resource in Resources Tab in TP/VS section. Is there any function module or any method available to this?
    Responses highly appreciated. Thanks in advance
    Regards
    Sandeep Patil

    Hi all
       I have the same requirement for the end user.
      Is it a good idea update active Table of ODS behind an ABAP Program Z?, I understood that you can't have log history... and you can't delete request.. because you will not generate this..
      We actually have one ODS that contain invoices... all the fields that contain the invoice..like material, vendor, etc.. was updated according to ABAp programa that we specify on start routine, each time that we need to update these fields we need to unload fros ODS to PSA and load again with dtp...
      Let me copy more details:
    Actually, we have an DSO that is updated each week, we load the information into different PSA, all of this PSA pass to ODS for one info source and transformation rule, in this transformation rule we have an ABAP rotine that have some validation and assign some values for different fields.
    In this procees everthing look fine, actually If we need to update this information from DSO (that was loaded and the user need to update some fields) we need to download information from DSO to PSA and load again with DTP process, this was fine.
    Actually the user want that this kind of changes will be apply on line, this mean that for example all the invoices that I have actually loaded into DSO need to be analyzed and update according new parameters that they specify in other tables.
    The DSO is standard, and contain three basis tables, active, delta, modified.
    My question is: Is it possible update directly table of active records of DSO with one Z program?? is it a good idea?, We want to discard the option of unload and load information each time that they need to update certain field that are calculated or updated whit the transformation rule or load.
    Than you for your help.

  • Resource categories handled by SNP

    Hi,
          There are four resource categories in SCM, Production, Transportation, Storage and Handling. Does SNP handle all 4 categories? What does Heuristics, CTM, optimizer each handle? If they don't handle any why?
    Thanks.

    Hi,
    No, I checked the help of SCM 5.0. You can find it in the CTM > Master Data > Resources Section.
    Also the release notes of SCM 5.0 say the following, which is also misleading. The first paragraph mentions handling resources, the second says they are not supported. Still a little unclear now.
    Transport and Handling Resources in CTM
         Resource Attributes: The transportation resource size is not considered.
         Time-continuous, calendar, and mixed resources must have 100%
         utilization and no unscheduled breaks. Goods Receipt for Production:
         Goods receipt for a specific production plan is only considered if all
         possible output products use the same handling resource. Only capacity
         consumption for main output is considered. Especially, production at
         another location with a handling resource at the planning location does
         not create a goods receipt activity in the following scenarios:  -
         Co-products exist  - Production version for production location exists
         Supply Chain Viewer The supply chain viewer (transaction
         /SAPAPO/CTMVIEWER) is not enhanced to display individual activities and
         resource consumptions for external procurement
         ( Changed at 15.11.2005 )
    Goods Receipt Times in CTM
         The function “goods receipt times” is only supported if the following
         conditions are fulfilled: 1. All possible output products (main output
         products and co-products) of a SNP or PP/DS plan need to have the same
         „goods receipt times“ and the same "receiving calendars". 2. This is
         also necessary to consider in case one product is produced in another
         location. Thus the product’s „goods receipt times“ and "receiving
         calendars" need to be identical as well. Production in another location
               is a function, which can be used to model  a product, which is produced
         in location A, but its output appears in location B. In case different
         receiving calendars or receipt times are maintained for the out put
         products of one plan the goods receipt times are not taken into account.
         The master data checker of CTM is also checking this and comes back with
         a message in case the times or the calendars are not identical. For
         output products of different plans it is possible to have different
         calendars or receipt times. But note only if the output products refer
         to DIFFERENT plans. Note also: - Between the last activity of a plan or
         PPM and the goods receipt activity it is not possible to have any kind
         of break. This activities must follow seamlessly after each other. -
         Handlings-resourses are not supported by CTM. - For planned orders only
         goods reciept times are possible. Goods issue times does not exit. -
         This behavior is not valid for procurement orders.
         ( Changed at 15.11.2005 )

  • Error: Could not find compiled resource bundle 'components' for locale 'en_US'

    We are porting a fairly large body of Flex3 code developed under FlexBuilder 3 to Flex4 under FlashBuilder 4.  Most of the conversion appears to be working fine, with one exception.  When I launch the Flex4 version, all my data interchanges with the server works.  Just as it is about to show the UI, the following error occurs:
         Error: Could not find compiled resource bundle 'components' for locale 'en_US'
    I am actually using a locale of fr_FR, but I assume it couldn't find that, reverted to en_US, failed again and then barfed.  If I look in
         ~Adobe Flash Builder 4\sdks\4.0.0\frameworks\locale\fr_FR
    I see a lot of swc files, and of course no 'components.swc'.  I believe the problem is that our Flex3 code is using mx components, and the compatibility mode is not properly handling it for some reason.  I think this is mostly from our in-house UI library.  The properties for that library (and for my main app I am testing now) have:
         - Use default SDK (currently "Flex 4.0")
         - Use Flex 3 compability mode
         - Use minimum version (Flash Player) required by the Flex SDK
         - Enable strict type checking
         - Enable warnings
    I also tried putting the compatibility flag in the mxmlc compile line, with no change in behavior.  This project is built by the following script:
    ruby scripts/concat_properties.rb -o resources.properties ^
         src/main/flex/locale/fr_common/res_myname_fr_common.properties ^
         src/main/flex/locale/fr_common/scout/res_myname_scout_fr_common.properties ^
         src/main/flex/locale/fr_fr/res_myname_fr_fr.properties ^
         ../../scout/common/src/locale/fr_common/mypals/resources.properties
    mxmlc -locale=fr_FR -source-path=. ^
         -compatibility-version=3.0.0. ^
         -static-rsls=true ^
         -include-resource-bundles=resources ^
         -output src/main/resources/bundles/mypals/fr_fr_resources.swf
    copy src\main\resources\bundles\mypals\fr_fr_resources.swf ^
         bin-debug\bundles\mypals
    What have I missed???

    You have two posts. I will try to answer each completely.  Second one first. You say I should change my build to include the framework resources.  I am afraid I am not sure which and what to do there.  We combine all our properties file into one large one, then use the following build line:
    mxmlc -locale=fr_FR,en_US -source-path=. ^
         -compatibility-version=3.0.0. ^
         -static-rsls=true ^
         -include-resource-bundles=resources ^
         -output src/main/resources/bundles/mypals/fr_fr_resources.swf
    I am assuming you are telling me to change the "-include-resource-bundles" line, but what to add?  The "sdks\4.0.0\frameworks\locale\en_US" holds 13 swf files.  I tried adding that entire folder (along with the fr_FR folder) to the project library path (in the project properties dialog), but that made no change.  I also tried reverting the library path tab back to "MX Only" instead of "MX + Spark", but again no change.
    ====================
    For your first message, I did a search for 'spark' in the entire project.  It only existed on 3 lines, each at the start of css files:
        @namespace s "library://ns.adobe.com/flex/spark";
    I had put those in based on reading needed changes to naming in CSS.  Since I was not actually using any spark ('s') components yet, I removed these lines.  The entire project now does not have the word 'spark' anywhere in it. No change in behavior (as I expected).
    I did a search for "s:" throughout the project.  That does exist in probably 100 places, but all are legitimate. Things like (xmlns:mx="http://www.adobe.com/2006/mxml") or variable names ("var matches:Object").  No reference to any s: object.  (While on the topic, why does FlashBuilder still not have a "whole word" box to limit searches??).
    Note that when I first reported this problem, the compiler was set to ONLY support fr_FR.  In fighting this, I changed it to "en_US,fr_FR" hoping that would tell the compiler to load whatever en_US items it was looking for.  We really do not want any English support in this version. (We do have another SWF created with only support for en_US, and another for en_UK, etc.  Each language is a separate node on our server, so there is no need to mix & match at runtime)
    The console shows a lot of swf loads that I do not understand...
    The console output shows (my comments after ==> indicator)
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf - 2,229,992 bytes after decompression
                 ==> our locale is set here, after the above load and before the next line
    Look for name file at: ./data/fr_fr/names.csv
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf - 21,200 bytes after decompression
    Loaded 2278 names.       ==> indicates successful load of data retrieved from server
    Loaded 154 bad words     ==> our second data set has been retrieved and loaded
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 58,777 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 322,606 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\bundles\mypals\fr_fr_resources.swf - 595,025 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 202,168 bytes after decompression
        ==> not sure what this next warning means.  I'm guessing I will later have to research it and return to 'secure' comm with server, but I'm ignoring for now
    Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The 'secure' attribute is only permitted in HTTPS and socket policy files.  See http://www.adobe.com/go/strict_policy_files for details.
    Resource bundle loaded for locale fr_fr  ==> at this point, we appear to have our French assets loaded successfully
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 202,168 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 1,303,976 bytes after decompression
    [Unload SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf  ==> some runs see this, but others do not. I expect it is a timing issue of whether it is reached or not before the crash
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 794,898 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 194,635 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 261,589 bytes after decompression
    ==> everything looks fine up to here.  This is then when the third call to installCompiledResourceBundles occurs
    Error: Could not find compiled resource bundle 'components' for locale 'en_US'.
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()[E:\dev\4.0.0\frameworks \projects\framework\src\mx\resources\ResourceManagerImpl.as:340]
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()[E:\dev\4.0.0\framework s\projects\framework\src\mx\resources\ResourceManagerImpl.as:269]
        at mx.core::FlexModuleFactory/installCompiledResourceBundles()
        at mx.core::FlexModuleFactory/docFrameHandler()
        at mx.core::FlexModuleFactory/docFrameListener()

  • Properties files in a Java package not included in DC build

    We are developing a Portal Standalone DC and i have a JspDynPage component within it. and i need to do internationalization in  it. so as part of that i want to keep multiple resource bundles(properties) so that i could manage my properties files easily, For example
    MSS.properties
    MSS_es.properties
    ESS.properties
    LSO.properties
    since portal by default has no way to do this bcos it allows only one resourcebundle to specify in portalapp.xml file, i have kept the resource bundles in java package like
    com.companyname.portal.resources.
    when i export from NWDS with selection of "i want to add non java resources into jar " option from windows->preferences->enterprise portal ->application development studio, it exports all the properties files as part of the par and everything works. but when i do the DC build it ignores all my properties files and it is not working. any suggestions on how to resolve this??? does SAP provide any other way of handling multiple properties files inside a PAR?????

    We are using NWDS 2004 SP19.  and yes i have defined three default SCs as dependencies. I tested with 2004s NWDS and it seems work fine. I am able to resovle this issue by moving my properties files into another java DC and create public part in java DC and use those public parts in Portal application DC.
    So The problem of not including the properties files into Jar seems to be issue only in Portal Application DC not in Java DC. thanks everyone for the quick responses..

  • 6.0sp5 Struts properties problem

    Testing with struts-blank - NO mods.
    ===== SUMMARY
    Struts demos will work with 6.0sp5 - but ONLY if you move message properties
    under the server config/ directory.
    6.0sp5 is prefixing the message resource with SERVER_ROOT/SERVER_ID/config/
    And, it does NOT search the classes directory.
    I've searched EVERYWHERE to try to find where to configure this path prefix.
    It looks like it picks it up from the command line start:
    ./$PRODUCT_BIN -d $PRODUCT_SUBDIR/config
    (obviously can't change that ;-)
    Please note, this is not a permissions problem, checked that already.
    ===== DETAILS
    Solaris 8 Unix, with 12/02 jumbo patch
    Installed from scratch just for testing Struts:
    - 6.0sp5
    - Struts 1.1-b3
    - J2SE 1.4.1.01
    NO errors upon itialization of the struts-config.xml, works fine.
    Getting error:
    at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
    r.java:981) , root cause: javax.servlet.jsp.JspException
    at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:298)
    at jsps.pages._Welcome_jsp._jspService(_Welcome_jsp.java:142)
    deployed (correctly) in directory:
    /web/server/vs2/doc/struts-blank/
    message resource file as deployed:
    /web/server/vs2/doc/struts-blank/WEB-INF/classes/resources/application.propertie
    s
    ran truss on ns-httpd process:
    *** FAILS ***
    1531: stat64("/usr/iplanet/servers_tst/https-www/config/resources/application.
    properties", 0xFB8EDA10) Err#2 ENOENT
    (searches all language/country varients for local - failing)
    moved resource file to:
    /usr/iplanet/servers_tst/https-www/config/resources/application.properties
    ran truss on ns-httpd process:
    *** WORKS ***
    1623: open("/usr/iplanet/servers_tst/https-www/config/resources/application.pr
    operties", O_RDONLY|O_LARGEFILE) = 22
    Happy Struts WORKS! But, would prefer to handle message properties in
    the correct app directories. Is there a way to correct the path?
    Thanks,
    Dan

    Don't do so!
    Just add the path /web/server/vs2/doc/struts-blank/WEB-INF/classes/ to your IWS6 JVM classpath, it is OK forever!!
    As follow:
    Start administer web server-->Select a Server: your server, click manager-->Java-->Configure JVM Attributes-->Add your specifically path(such as ...../WEB-INF/classes/) to the Classpath-->Click OK-->restart webserver.

Maybe you are looking for

  • Changing color of a field after changing the data using OOPS ALV.

    Hi Experts, I have displayed three fields (price, no. of products and total amount) in my ALV grid using OOPS. Then am changing the data in either price or no. of products fields. When I click ENTER key the value in total amount changes corresponding

  • Can you check/uncheck multiple songs in iTunes for syncing to iPod?

    In a previous reply to this question, the answer given was that you can use Command apple key to uncheck or check groups of iTunes songs for syncing. Actually this does not work. Apple Commmand only gives you the possibility to check or uncheck the E

  • System is not visible in SAP MMC

    Hellu Guys , System  is up ad running fine ,but it is not visible in SAP MMC . Kindly let me know that how to activate in MMC .

  • Yum command not found on x86-64 RHEL4

    I can use yum install or upgrade command on RHEL4 32Bit, However i am not able to use the same on 86-64Bit machines on RHEL4 I am installing oracle and need to install some missing rpms

  • Click box used to open pdf file problem

    I want to give learners the chance to open a pdf file with additional information from a link to a click box. I want learners to be able to close out of the pdf and return to the same screen in the lesson when they finish reading the pdf. Currently i