Use XPath to select one of the node??

Can I use xpath to draw <param-value>/mnt/VISL/stats/stats/clarent2</param-value>
only?
I have tried to use ApplyXPath sample, but
I don't know what xpath value I should use?
I tried /doc/servlet/init-param/param-value
but it certainly draw other tag with the same name
Pls help!!!
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>
gen_daily
</servlet-name>
<servlet-class>
gen_daily
</servlet-class>
<init-param>
<param-name>clarent_init_dir</param-name>
<param-value>/mnt/VISL/stats/stats/clarent2</param-value>
</init-param>
<init-param>
<param-name>linefeed_mode</param-name>
<param-value>2</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>
RequestParamExample
</servlet-name>
<servlet-class>
RequestParamExample
</servlet-class>
</servlet>
<servlet>
<servlet-name>
RequestParamExample2
</servlet-name>
<servlet-class>
RequestParamExample2
</servlet-class>
</servlet>
<!-- Define example application events listeners -->
<!-- Define servlets that are included in the example application -->
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>
http://java.apache.org/tomcat/examples-taglib
</taglib-uri>
<taglib-location>
/WEB-INF/jsp/example-taglib.tld
</taglib-location>
</taglib>
<resource-ref>
<res-ref-name>mail/session</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<security-constraint>
<display-name>Example Security Constraint</display-name>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<!-- Define the context-relative URL(s) to be protected -->
<url-pattern>/jsp/security/protected/*</url-pattern>
<!-- If you list http methods, only those methods are protected -->
<http-method>DELETE</http-method>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<auth-constraint>
<!-- Anyone with one of the listed roles may access this area -->
<role-name>tomcat</role-name>
<role-name>role1</role-name>
</auth-constraint>
</security-constraint>
</web-app>

You have to start at the root and go down the XML tree.
Try:
/web-app/servlet/init-param/param-value
Are you trying to use this in xsl?
Kind regards,
Hans.

Similar Messages

  • Backing up the RAC DB when either one of the node is down

    11.2.0.2/Solaris 10 (x86-64bit) For our 2-Node production RAC DB, I had configured RMAN backup from Node1 using Cronjob. Last weekend our Node1 went down. Our SMS notifying system which sends SMS alerts to our Mobiles went down on the weekend as well. Only by Monday Noon we came to know that Node1 is down and that there is no backup for Saturday and Sunday.
    How can i make sure that RMAN backup of the DB will be taken even if either one of the Nodes go down ? My friend suggested IBM TWS scheduler. Can Tivoli Work Scheduler detect a dead RAC Node and fire RMAN backup from the surviving node ?

    I don't know the answer regarding TWS, but if you run the backup from crontab I guess that you don't have any 3rd party tool now.
    I think the easiest solution will be to have the script and crontab job on both servers and decide which one runs the backup.
    For example, the script that is scheduled in the crontab will do:
    1. if $HOSTNAME is node1 run the backup. If $HOSTNAME is node2, check if node1 is up and if not run the backup.
    2. This is more elegant, check the "crsctl status resource" for something and run the backup accordingly. For example, the script will check where SCAN1 VIP is located and this is the node which will run the backup.
    HTH
    Liron

  • Select one of the installed languages- Idoc stuck in sm58

    Hi,
    We have observed a strange issue during testing.
    Some interface Idocs going from R/3 system to XI got stuck in sm58 with error
    Select one of the installed languages
    Later it was found that language EN was not specified in RFC destination and in the user profile which was being used in this RFC.
    It was fixed and interface was working fine.
    What  I was not able to understand was why other interfaces were processing Idocs successfully using the same RFC destination?
    regards,
    Anirudh

    Hello,
    Are your other interfaces still using the same RFC destination and port to PI , or do you have differnt? if different that could explain your issue.....

  • RFC_ERROR_COMMUNICATION:     Select one of the installed languages

    Hi Experts,
    When I try to test the JCO Connection created for ESS.
    name : SAP_R3_SelfServiceGenerics.
    I am getting the error message like below:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION:      Select one of the installed languages
    If I try to edit the same,I am getting Null Pointer Exception.
    Can anyone help me out to resolve this error?
    Regards,
    Karthick

    Are you using an LDAP as your UME, or are the user records from from R/3 ?
    Apparently  (Ive never done it) you used to be able to force a default language by editing this file (back in the EP5 days):
    <J2EE root>\WEB-INF\portal\system\properties\prtDefault.properties
    Look at the following lines :
    This is the default language to be used when none is specified
    request.defaultlanguage=en
    request.defaultcountry=us
    If you prefer to have the same language for all users no matter their user locale, change the lines to this :
    This is the default language to be used when none is specified
    request.mandatorylanguage=en
    request.mandatorycountry=us
    I hope this works out for you

  • RZ20 Error - Select one of the installed languages

    Dear All Experts,
    I am facing error in RZ20 with this below description -
    Select one of the installed languages
    Any of you have been encountered with same  error please advice.
    All of your valuable guidance will be appreciable.
    Regards,
    Tayyeb.

    Hello Tayyeb,
    The reason is the Language you are trying to use is not installed in the System.
    Ask your Basis Admin or Sys Admin to check the Transaction SMLT  --> and check whether the language is installed in the system.
    Thanks
    SM

  • Error "Select one of the installed languages"

    Hi guys,
    I'm completely new to WAD. So i'm trying to publish a simple application to see how it works. But when i select "Execute" my browser is opened but the webpage shown is an error 500 saying "Select one of the installed languages".
    I didn't find where i could select a language. I also checked that my browser has English language. But the message seems more to come from SAP side (it's kind of the same you get in SAPLogon.
    Any help would be welcome :-).
    Thanks in advance,
    Thomas

    hi
    check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/content.htm
    or for internal modeling follow this procedure
    The language settings enable you to set the following parameters for accessing worklists:
    Source language
    Target language
    Translation area
    Another target language in which translations or proposal pool entries can be displayed for reference purposes
    The source and target language settings also apply to your statistics display in transaction SLLS.
    Procedure
    1. Call up transaction SE63.
    2. Choose Utilities u2192Settings.
    3. Select the Languages tab page.
    4. Enter the translation area in which you usually translate. To display a list of available translation areas, use the input help.
    5. Enter source and target languages for the worklists you want to call up.
    6. In the Text Display in Other Language field, enter another target language in which you want to display translations or proposal pool entries when working in the short text editor. Otherwise, you need to select the required target language in a dialog box.
    Result
    These parameters take effect the next time you call up a worklist. You can change them manually if you want to call up a worklist for a target language other than your default target language
    Regards
    Santosh

  • Forcing the user to select one of the OBIEE prompts?

    Hi All,
    Iam new to OBIEE I have a requirment in which I need to force the user to select one of the selection from prompts in OBIEE eg: you need to select one of the contry either India or America to get the other prompts enable and filter the report?
    Any help is highly appriciated.

    Hi,
    You can set a default value in your first dashboard prompt like 'please select a country' then if the user doesn't select something no result will be returned until he selects a valid value
    Then make the other dashboard prompts constrained.
    Regards
    Adil

  • Hi we setup ISE in our lab. We have 2 PSN registered but one of the node is out of sync after I upgraded form 1.1 to 1.2

    Hi we setup ISE in our lab. We have 2 PSN registered but one of the node is out of sync after I upgraded form 1.1 to 1.2

    For out of sync issues, which most likely are due to time changes or NTP sync issues, you must correct the system time and perform a manual sync up through the UI.
    For certificate expiry issues, you must install a valid certificate and perform a manual sync up through the UI.
    For a node that has been down for more than six hours, you must restart the node, check for connectivity issues, and perform a manual sync up through the UI.

  • PeerGoneException after one of the nodes is restarted

              WLS 8.1 (no sp), J2SE 1.4.1 or 1.4.2, Solaris 8.
              In a two-node cluster, we brought down one of the nodes and then brought it back
              up after a few minutes. It seemed to be fine for a while, then we would get
              PeerGoneException and the distributed topics distributed messages unreliably.
              I suspect when the node (A) was brought down, something in the other node (B)
              with respect to A was not cleaned up and when it tried to communicate with the
              restarted A (rA), they got mixed up.
              I attached the config.xml and the cluster log files in a zip. The behavior is
              reproduceable. We also experimented with bringing down the admin server. Same
              results.
              Thanks,
              Bill
              [PeerGone.zip]
              

              WLS 8.1 (no sp), J2SE 1.4.1 or 1.4.2, Solaris 8.
              In a two-node cluster, we brought down one of the nodes and then brought it back
              up after a few minutes. It seemed to be fine for a while, then we would get
              PeerGoneException and the distributed topics distributed messages unreliably.
              I suspect when the node (A) was brought down, something in the other node (B)
              with respect to A was not cleaned up and when it tried to communicate with the
              restarted A (rA), they got mixed up.
              I attached the config.xml and the cluster log files in a zip. The behavior is
              reproduceable. We also experimented with bringing down the admin server. Same
              results.
              Thanks,
              Bill
              [PeerGone.zip]
              

  • JOB error: "Select one of the installed languages"

    Dear all,
             if we execute some standard program/function in background mode the job stops with the following error:
    " Select one of the installed languages ".
    If we execute the same standard program/function immediately after the above error all run without error.
    We have the following patches level:
    SAP_BASIS          700          0017     SAPKB70017
    SAP_ABA               700          0017     SAPKA70017
    PI_BASIS                         2006_1_700     0007     SAPKIPYM07
    ST-PI               2005_1_700     0006     SAPKITLQI6
    SAP_BW               700          0019     SAPKW70019
    SAP_AP               700          0014     SAPKNA7014
    SAP_HR               600          0007     SAPKE60007
    SAP_APPL          600          0014     SAPKH60014
    EA-IPPE               400          0014     SAPKGPID14
    EA-GLTRADE          600          0014     SAPKGPGD14
    EA-RETAIL          600          0014     SAPKGPRD14
    FINBASIS                         600          0006     SAPK-60006INFINBASIS
    EA-PS               600          0014     SAPKGPPD14
    EA-FINSERV          600          0014     SAPKGPFD14
    EA-HR               600          0007     SAPKGPHD07
    EA-DFPS               600          0014     SAPKGPDD14
    EA-APPL               600          0014     SAPKGPAD14
    Any help?
         Gino Bonfiglioli

    Hi Rohit,
                thank you for your help
    Every job that stopped show the following error:
    Date           Time      Message text                                                                   Me. cl. Me no. Me. ty
    07.05.2009 09:24:55 Job started                                                                          00      516          S
    07.05.2009 09:24:55 Select one of the installed languages                                     00     171          E
    07.05.2009 09:24:55 Job cancelled after system exception ERROR_MESSAGE      00     564         A
    I looked for any SAP notes but I didn't find the right one.
    Gino

  • I am using iPhoto 11 mail and cannot add more than one recipient in the 'to' line.  When I put a comma in, the recipient's address is deleted.  If I use ' ' with more than one recipient the save grays out.  Any thoughts?

    am using iPhoto 11 mail and cannot add more than one recipient in the 'to' line.  When I put a comma in, the recipient's address is deleted.  If I use '< >' with more than one recipient the save grays out.  Any thoughts?

    I figured it out.  I needed to fix some errors in my account information.  It works fine now.

  • [svn] 1263: Update language selection code so that you can actually select one of the new languages I recently added .

    Revision: 1263
    Author: [email protected]
    Date: 2008-04-16 12:25:02 -0700 (Wed, 16 Apr 2008)
    Log Message:
    Update language selection code so that you can actually select one of the new languages I recently added.
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java

    Revision: 1263
    Author: [email protected]
    Date: 2008-04-16 12:25:02 -0700 (Wed, 16 Apr 2008)
    Log Message:
    Update language selection code so that you can actually select one of the new languages I recently added.
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java

  • Message: "Logon failed. Details: Select one of the installed languages".

    Hi all,
    In Crystal Reports 2008 (version: 12.1.0.892) I want to make a new connection to our SAP ECC system (SAP Table, Cluster or Function). The available SAP systems as defined in my SAP Logon appear and I choose the ECC system. After entry of Client, Username and Password an error message appears:
    "Logon failed. Details: Select one of the installed languages"
    I'm quite sure the system tries to make the login in Dutch and that language is not installed in SAP ECC (just English and German). However, Crystal operates fully in English. Has anyone an idea why the login takes place in Dutch and how the language can be changed at login?
    Thnx in advace,
    Henk.

    Hi Chris,
    I am facing the same problem from Crystal Reports. I tried changing the locale as you instructed, but could not resolve the issue.
    The difference here is, it was working perfect until a week before.
    Appreciate your help on this.
    Thanks & Regards,
    Munir

  • SMQ1 in ECC  sysfail (select one of the installed languages)

    Hello Gurus
    in our ECC system we are having sysfail error status  in T code SMQ1 (select one of the installed languages), how to over come this
    inputs are highly appricted

    Hi Sreeram,
    For the faster response you should be more specific. As you mentioned SMQ1 i.e. you are having issue in ECC outbound. You should also mentioned the queue type, i.e. the queue is for BP, material etc... and the error message details, message class, message number.
    Search service marketplace with the details and you should be able to find some oss note.
    Thanks,
    Vikash.

  • CCMSPING: Logon check error - Select one of the installed languages

    Hi All,
    For one SAP system I have logon check error (MTE: <SID>\Availability\<host>_<SID>I_<Instnr>\Logon-Check: RFC Error Message):
    Select one of the installed languages
    Could anybody help me resolve it?
    Thanks a lot,
    Alexander

    Could you solve the problem?
    Do you know the solution to this error message (Select one of the installed languages) regarding Logon-Check with CCMSPING?
    Thanks in advance!

Maybe you are looking for

  • Paint() method in an entity class

    Hi, I am trying to draw 2 shapes in a Canvas, one rectangle and a circle. However, I have an entity class for both the rectangle and the circle, something like: public class MyRectangle private int width, height; public MyRectangle() { ... } pulbic g

  • Flat file created ,external table created, deployed successfully but...

    hi everyone, I have a problems : I have created a flat file through flat file module from a text file. i've done it successfully, then i create an external table through external table module for the same flat file , went successfully, then velidatio

  • Using UDA's from Essbase in HFR

    Hello Guys, I need to apply conditional formatting on a column in a financial report. The conditional formatting is to be applied based on the User defined attributes defined on the member in Essbase. But iam not able to find any way to do so. Can an

  • Transferring Playlist from one PC laptop computer to another

    How do I save my existing playlists on my old PC laptop and transfer them to the new PC laptop? I lost my playlists the last time I upgraded to a new PC laptop and don't want to suffer that loss again. Can anyone help? Thanks

  • Cleaning up .bom Files

    Is there any app that will clean up .bom files after you have deleted any app from the system. It seems that alot of crap is left in the folder that  they reside.