Define multiple cookie paths in web-j2ee-engine.xml

Hello,
Is it possible to define more than one path JSESSIONID cookie is sent to? Something like
<web-j2ee-engine>
<cookie-config>
<cookie>
<type>SESSION</type>
<path>/irj;/login</path>
<domain>siemens.de</domain>
</cookie>
</cookie-config>
</web-j2ee-engine>
I want the cookie to be sent to /irj and /login, but not to /b2b.
Another solution could possibly be to change the name of the JSESSIONID cookie. Is that possible?
Thanks for you help,
Elmar

Hi Rüdiger,
I'm not really sure but this could work:
Regards,
Pascal

Similar Messages

  • ISA 5.0 / NWDI : web-j2ee-engine.xml / synchronization question

    Hello experts
    I wonder whether this is normal that whenever I start a synchronization on the crm/isa/web/b2c DC (or in my custom DC which synchronizes the used DCs including crm/isa/web/b2c), nwds asks me to create an activity to take into account changes on the web-j2ee-engine.xml file ?
    I select cancel each time but maybe I'm wrong ?
    Is there a solution that nwds not ask me more ? Is there a mistake in any configuration file ?
    Thank you very much and have a nice day
    Julien

    hi
    sap friends
    i have configured B2B in CRM 5.0 sr2 (ABAP+JAVA) on same host VIA XCM
    while login into this link
    http://idescrmsr2.iserviceglobe.com:50000/b2b/b2b/init.do
    http://idescrmsr2.iserviceglobe.com:50000/isauseradm/useradmin/init.do
    with user test , this user is having the following roles
    SAP_ALL
    sap-new
    sap_j2ee_admin
    sap_crm_eco_isa*
    sap_crm*
    sap_crm_isa*
    all the b2b related roles i have given, but still am unable to login into above URLs
    it is giving error message like :"<b>LOGON IS INVALID,CHECK UR ENTRIES</b>"
    is there any configuration related users configuratiom
    plz help me anbody regarding this problem

  • Editing application-j2ee-engine.xml file in Web Dynpro DC

    I'd like to set one of my web dynpro apps to automatically start whenever the J2EE engine is started.
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/94/0a5b422f786255e10000000a155106/frameset.htm">This SAP Library document</a> states that you can do that in the application-j2ee-engine.xml file. However, I cannot find the application-j2ee-engine.xml file anywhere in my Web Dynpro DC. I've opened the DC in Web Dynpro Explorer view, Package Explorer view, Navigator view, J2EE DC Explorer view and J2EE Explorer view.
    Even after expanding all the folders in each view I still can't find the application-j2ee-engine.xml file.However if I search my '.dtc' folder on my hard drive I find the application-j2ee-engine.xml file in the following path:
    C:\...\.dtc\1\t\13AA2EFA530FEB42915442D10D7C71A6\gen_wdp
    How can I EDIT that file for a web dynpro component/app?
    Thanks!
    David
    Message was edited by: David Z. Pantich to include the link to the SAP Library document

    Hi Maksim. I understood that. It's just that I would prefer some method that doesn't require the developers to do something like extracting a file from the EAR file, changing the file and then putting it back in. As you probably know, some developers could handle it and some will most certainly make mistakes.
    When they do they come to my group and say "my app doesn't work" and then we have to spend time figuring out why.
    Plus, once the developers get used to doing things the automated way they're going to have a hard time remembering to do a manual step each time they do a build.
    I have heard that there may be some way to do something similar to this on Visual Administrator. I'm going to investigate that too.
    Thanks!
    David.

  • No ejb-j2ee-engine.xml after new EJB module project

    Hi! Can someone please help. Newbie here
    I installed SDK 1.4.2_13
    I installed Netweaver Developer Studio 7.0.09
    When I create a new ejb module project I only see the files
    ejb-jar.xml
    ejbmodule
    I miss the file ejb-j2ee-engine.xml
    How is this possible?

    I solved the problem by uninstalling SAP Netweaver Developer Studio version 7.0.09 and install version 7.0.08
    However, It's still strange why there was no ejb-j2ee-engine.xml when there was created a new EJB project module.

  • Cannot parse ejb-j2ee-engine.xml

    During installation of XI3.0 I get this error in the "Online deployment adapter framwork". Has anyone else seen this error? Here's the complete error:
    Error: Aborted: development component 'com.sap.xi.mdt'/'sap.com'/'SAP AG'/'3.0.20040129102613.0000':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/com.sap.xi.mdt..
    Reason: Cannot parse ejb-j2ee-engine.xml.; nested exception is:
            com.sap.engine.services.ejb.exceptions.deployment.EJBXMLParserException: Cannot parse ejb-j2ee-engine.xml.
    Any help will be apreciated!

    Hello Dankertsen
    This is a standard error in SAP XML Deployment file, you need to check the file ejb-j2ee-engine.xml if it starts with a space (first line) you must remove it and then update the file aii_mdt_bean.jar. and then retry again.
    Hope this will help.
    Regards,
    M. Zehana

  • Where to change application-j2ee-engine.xml ??

    hi,
    i have to change the application-j2ee-engine.xml file.
    WHERE is this file stored ?
    b. reg, Martin

    hi,
    okay, thank you
    so far, so good. i have never used eclipse before !
    when i open J2EE development the J2EE Explorer view is EMPTY.
    how should eclipse (which is on my client) know from where it should get the files ????
    where is the connection to sap ?
    very confusing
    best reg. Martin

  • Multiple Context Paths Per Web Application

    Hi,
    We have a Web Application which has a Context Path of "titanadmin". We have some
    HTML pages which refer to this within the URLs they contain. We need to move the
    functionality in this Web Application to another Web Application with a Context
    Path of "gp3admin". We cannot change the URLs in the generated HTML.
    So, is it possible for a Web Application to have multiple Context Paths, so that
    URLs starting with "/titanadmin/" and "/gp3admin/" both go to the same Web Application.
    Thanks,
    Dave

    There is no hard limit to the number of Web Applications (I managed a WSSv3 farm that had 60+, for example). The issue is memory-related and primarily stems from 32bit systems where it was much easier to get Out Of Memory errors on the IIS Application Pools
    when performing a large operation across a 32bit Application Pool (e.g. crawling). However, if you limit each IIS Application Pool to about 10 Web Applications (again, in 32bit land that no longer applies), everything generally works OK given the Web Applications
    do not have a very large amount of content.
    But, if HNSC is in use, a single Web Application should be sufficient, barring any Web Application-specific settings you might need to make.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • EJB Isolation levels in ejb-j2ee-engine.xml

    Can anyone explain to me why I only seem to have the option of using the 'repeatable read' isolation level in Netweaver Developer Studio?
    I'm new to SAP and Netweaver but as a seasoned J2EE developer I would have expected to find read committed, read uncommitted, serializable, as well as repeatable read.
    Is there some SAP or Netweaver specific reason why I don't get to choose these options, or do I need to enable them by configuring properties somewhere?

    Hi Steve,
    The reason is that the J2EE Engine EJB Container supports Read Committed and Repeatable Read isolation levels and Read Committed is the default one. That's why you only have the option of specifying Repeatable Read.
    For more information on locking and isolation levels please have a look at these documents:
    http://help.sap.com/saphelp_nw04/helpdata/en/37/019b3e25f95f14e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a1/d81db94a10bc4b83b3f60b0e3037e7/frameset.htm
    Best regards,
    Vladimir

  • Regarding application-j2ee-engine.xml ?

    Hi @,
    Where can i find complete description for the application j2ee engine file used during module develpmnt as the entries there make the whole module work.
    I couldn't find proper details for the same file and how to correlate the same with the developed code
    REgards

    You need at least following references:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.aii.af.lib</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.adapter.xi.svc</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.af.svc</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.af.cpa.svc</reference-target>
         </reference>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>
    If you refer to other libraries in your code as well, add the references also.
    Regards
    Stefan

  • Running ssl client from multiple applications fails in Sap j2ee engine

    There are two applications making ssl connections to third party.
    At a time only one application is able to make connection while other
    throws error message <b>"No trusted certificate found".</b>
    Currently we have  two j2ee applications running in SAP j2ee server. Both applications makes ssl connection to third party servers. Lets call first application as A1 and second application as A2.
    A1 is an internet shopping application . It makes ssl connection to third party services at two places . One is while fetching the shipping charges from UPS site.
    Code Snippet:
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    System.getProperties().put("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    String lo_url = new URL("https://wwwcie.ups.com/ups.app/xml/Rate");
    lo_connection = (URLConnection) lo_url.openConnection();
    At other place A1 connects to cybersource service using webservice +ssl  for credit card authentication using cybersource API. It uses certificate in p12 format.
    Code Snippet:
    com.cybersource.ws.client.axis.soap.RequestMessage lo_requestMessage = new  com.cybersource.ws.client.axis.soap.RequestMessage();
    Properties lo_cybsProperties = new Properties();
    lo_cybsProperties.setProperty("merchantId","arvato");
    lo_cybsProperties.setProperty("merchantRefCode","1234")
    lo_requestMessage.setMerchantID( "arvato");
    lo_requestMessage.setMerchantReferenceCode( "1234" );
    lo_cybsProperties.setProperty("cybersourceURL","https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor");
    lo_cybsProperties.setProperty("keysDir", "./WEB-INF/config");     
    lo_requestMessage.setBillTo(setBillToAddress(po_mdsBillingAddress) );
    // add ship to address
    lo_requestMessage.setShipTo(setShipToAddress(po_mdsShiToAddress));
    lo_requestMessage.setPurchaseTotals( setPurchaseTotal() );
    //set cc details
    lo_requestMessage.setCard( setCardDetails(po_mdsCreditCard) );
    Set Items and total tax calculation
    lo_replyMessage = com.cybersource.ws.client.axis.soap.Client.runTransaction( lo_requestMessage, lo_cybsProperties );
    A2 Application
    This application connects to Motorola secured web service to fetch details of mobile hand set. It uses keystore to create ssl connection with Motorola webservice.
    Code Snippet
    try {
    TrustManager[] trustAllCerts = new TrustManager[]{
    new X509TrustManager() {
    public java.security.cert.X509Certificate[] getAcceptedIssuers() {
              return new java.security.cert.X509Certificate[0];
         public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType) {}
    public void checkServerTrusted(
    java.security.cert.X509Certificate[] certs, String authType) {
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(null, trustAllCerts, new java.security.SecureRandom());
    } catch (Exception e) {
    e.printStackTrace();
    System.setProperty("javax.net.ssl.trustStore","SapWSM.keystore");
    System.setProperty("javax.net.ssl.trustStorePassword","xxxx");
    System.setProperty("javax.net.ssl.keyStore","SapWSM.keystore");
    System.setProperty("javax.net.ssl.keyStorePassword","xxxx");
    Problem Cases :
    Case 1
    Step 1 : Server starts
    Step 2 : User access A1 first
    Step3: A1 Connects to UPS using https (It is able to connect)
    Step4: A1 connects to cybersource using webservice+ssl  (It is able to connect)
    Step 5: Another user access A2
    Step6: A2 tries connection to Motorola webservice over ssl
    Result connectivity fails with description "No trusted certificate found".
    Case2
    Step 1 : Server starts
    Step 2 : User access A2 first
    Step3:  A2 tries connection to Motorola webservice over ssl (It is able to connect)
    Step 5: Another user access A1
    Step6: A1 connects to cybersource using webservice+ssl 
    Result connectivity fails with description "No trusted certificate found".
    Case3
    Step 1 : Server starts
    Step 2 : User access A2 first
    Step3:  A2 tries connection to Motorola webservice over ssl (It is able to connect)
    Step 5: Another user access A1
    Step6: A1 connects to  UPS using ssl
    Result connectivity fails with description "No trusted certificate found".

    Hi Please answer my query it is really <b>
    urgen
    t</b> and we are not able to run both the applications in same server

  • How to maintain the path of the j2ee-engine in NWDeveloperStudio...

    ...,if the engine is running on VMware on the same machine?
    I maintained the message server path (extracted out of the development trace of the SAPMMC => e.g.
    <computername>\saploc\BPS\SCS01\work\dev_ms), but when I try to deploy an application the Studio can't find the appertaining sdm host.
    Can anybody help me?

    Hi Andreas ,
       u just check , whether   is there any entry in the service host file in /windows/system32/drivers/etc/
    for the message server.(3601).
    Andreas , jut try to stop SDM from console and restar it.
    details about this in ..
    https://help.sap.com/saphelp_nw04s/helpdata/en/6b/21f76f97194759961502b50dfd5f21/content.htm
       or just restart the server . . just try.
    if u have already opened the SDM or if another deployement is happening , then also this type of errors can come.
           Have u opened Visual Administrator  ?. then also this happen.
    but normally after restarting the service itself can  solve this problem.
         u just check , can u login ugin SDM GUI or not..
    To start SDM GUI, execute the following script file in the usr/sap/<SID>/<INSTANCE_NAME>/SDM/program directory:
    RemoteGui.bat for Windows hosts
                                         Regards
                                           Kishor Gopinathan

  • License Installation for Multiple Hardware Keys in SAP J2EE Engine

    Hi Everyone,
    I have a question to ask that we have a Failover setup in our Client Enviornment.
    But for SAP JAVA System I am seeing a Problem :
    Whenever Failover will happen SAP System will be moved to different Hardware box
    which has different Hardware Key.
    1) In SAP ABAP Systems we can install Multiple Licenses for Multiple HArdware Keys
        so that whenever Failover happens , no need to apply license for that Hardware key
    2) But in J2ee System under License Adapter , I am not able to see any option under the same
        to install another License
    Under Licnese Adpater Service , I am able to see license of J2ee-engine_ora , maintanance_ora & Netweaver_ora licneses
    Thanks --
    Deepak Gosain

    Hi,
    Try to paste the two licenses in the same file and then import the license file.
    Not sure but give it a try it should work.
    Regards,
    Vamshi.

  • J2EE Engine - Restart necessary after changing web.xml?

    Hi people,
    do I have to restart the whole J2EE Engine after changing the <max-sessions> parameter of my J2EE-App? Or is a restart of the app via the deploy service also sufficient?
    This parameter change is done in web.xml on 620 and web-j2ee-engine.xml in 640.
    Thanks!
    Bjoern
    Message was edited by: Bjoern Altmannsberger

    restart only the application via deploy service
    regards,
    Violeta

  • J2EE - Engine Session

    Hi
    in one of our systems the J2ee-engine appends the JSessionId to every URL. In the other systems the session-handling is running properly cookie-based. Does anyone know where to configure this?
    TIA cb

    Hi,
    using URL rewriting to send JSESSIONID is controlled by a property in the additional deployment descriptor (i.e. web-j2ee-engine.xml) of the application. By default, JSESSIONID is sent as a cookie (if the HTTP client supports cookies), and URL rewriting in case the client does not support cookies. Setting the <url-session-tracking/> in the descriptor forces the J2EE Engine to use url rewriting always.

  • Mapping UME Roles to J2EE Engine Security Roles

    Hi all,
    is there a way to map the roles defined in UME which are used in a Web Dynpro application to those declared as part of an EJB descriptor?
    Any help is highly appreciated.
    Regards,
    Sebastian

    Hi Sebastian,
    yes, it is possible to do such mapping. And here how it works:
    1. define security roles in the ejb-jar.xml within the <security-role>. For example:
    <security-role>
         <role-name>test</role-name>
    </security-role>
    2. then you map the roles those roles to server security roles using the <security-role-map> tag of the ejb-j2ee-engine.xml descriptor.
    <security-permission>
       <security-role-map>
          <role-name>test</role-name>
          <server-role-name>myUMErole</server-role-name>
       </security-role-map>
    </security-permission>
    the myUMErole must be defined in the UME!
    Does this answer your question?

Maybe you are looking for

  • Safari doesn't open anymore

    Im on Maverick and I can't open safari any more, what shall I do?

  • Reg DBIF_RSQL_SQL_ERROR -    CX_SY_OPEN_SQL_DB

    We are getting lot of below run time error while querying on TVARVC table in production system. Runtime Errors         DBIF_RSQL_SQL_ERROR Exception              CX_SY_OPEN_SQL_DB Database error text........: "SQL0911N The current transaction has bee

  • Software Update not working

    On my Mac Mini Software Update is not working as expected. I have this machine setup with multiple accounts and my kids accounts are very limited so they can use the computer safly while I am not home. My account has admin permissions. When I log int

  • How do I convert a file to PDF on my iPad

    How do I convert to PDF on my iPad in order to send it as an attachment

  • ITunes app store update button not working

    I'm using iTunes 11 on a windows 7 pc, and the problem is that the for apps with update available, the app page in the store is shown to be "downloaded" and not clickable, whereas in iTunes 10 the button says "update". I have a quite large app librar