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

Similar Messages

  • 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.

  • 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

  • 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.

  • BI Integrated Planning: Cannot find a J2EE Engine

    Hi gurus,
    I want to run "Start Modeler" in BI Integrated Planning transaction, but I got a error called "Cannot find a J2EE Engine". Does anyone have any idea to deal with it?
    I will assign reward points for useful comments or answers, thanks in advance.

    Hi,
    before going to work on IP make sure that your system has J2EE ingine if not ask ur basis guyes to integrate EP with ur system.
    i think this is helpfull to you.
    thanks,
    Raju. E

  • 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

  • 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

  • Cannot parse Yahoo search results XML

    I am trying to create an application that will query yahoo and return XML to parse and display on the screen. For some reason I cannot parse the XML. I have done it this way before, but for some reason it is not working now. Does anyone have any idea how to get this to work?
    When I debug the data I can see the XML values in the searchXML object, but I cannot retrieve them. I have attached the XML that is returned. It appears to be messing up with I copy and paste it from IE into a file.
    Also I have removed my appId from this application.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <mx:Script>
        <![CDATA[
        import mx.rpc.events.ResultEvent;
        import mx.core.IUIComponent;
        import mx.collections.XMLListCollection;
        [Bindable]
        private var searchURL:String = "";
        [Bindable]
        private var searchXML:XML = new XML();
        private function send_data():void
            searchURL ="http://boss.yahooapis.com/ysearch/web/v1/"+searchTerm.text+"?appid=APPID&format=xml";
            var str:String = searchURL;
            userRequest.send();
        private function resultHandler(event:ResultEvent):void
            searchXML = event.result as XML;
            dgUserRequest.dataProvider =searchXML.resultset_web;
        ]]>
        </mx:Script>
        <mx:HTTPService id="userRequest" url="{searchURL}" method="POST" result="resultHandler(event)" resultFormat="e4x"/>
        <!--http://boss.yahooapis.com/ysearch/web/v1/foo?appid=ApPID&format=xml-->
        <mx:VBox>
            <mx:Label text="Enter Search Term" />
            <mx:TextInput id="searchTerm" />
            <mx:Button id="submit" label="Submit" click="send_data()"/>
            <mx:Label text="{searchURL}"/>
            <mx:Label id="thislabel" text="{searchXML.@responsecode}"/>
            <mx:Label text="{searchXML.resultset_web.@count}"/>
            <mx:DataGrid id="dgUserRequest" >
                <mx:columns>
                    <mx:DataGridColumn dataField="abstract" headerText="About" width="300"/>
                    <mx:DataGridColumn dataField="clickurl" headerText="URL" width="300"/>
                </mx:columns>
            </mx:DataGrid>
        </mx:VBox>
        </mx:Application>

    Thanks for your help, but I have found a much easier way to do what I was trying to do. Yahoo comes with a search API built specifically for Flex http://developer.yahoo.com/flash/tutorials/as3/search.html

  • 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

  • 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

  • Cannot start the j2ee engine

    hello.
    we are facing a problem with the J2EE engine of WAS.
    we stopped the server for some reasons and when trying to restart it, the server shows an error after loading the service manager ,in the server and the server is not getting connected.i am pasting the errors below:
    "Loading: ServiceManager ...
    ID000539: Classload error; Can't load service telnet because referenced service shell not found"
    and
    "ID000544: Error starting service security. JCO.classInitialize(): Could not load
    middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    default_cpc_mode"
    Also in the management console of the j2ee engine we are unable to find the database instance in the tree. we checked the view and nothing is hidden.
    We will be thankful if anyone can throw some light. Thankyou

    Hi,
    AFAIK this error occurs when server/services/shell directory is missing. I think you have moved it somewhere or renamed it.
    Also check the following link.
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/search%21default.jspa%3FforumID%3D45%26threadID%3D55413
    Regards
    Vijith

  • Cannot connect to j2ee engine from NDS

    Not sure if this is the right forum to post this.
    When I set the J2EE parameters from my NDS(Windows->Prferences->j2EE engiine),I get the following error message:
    "Exception: The message server did not respond within 60 sec.Please check if the message server is running and if the socket connection has been established.Nested Exception : null"
    I am able to ping the server and telnet to the port(3602)where the j2ee engine is running.But the NDS does not seem to be able to connect it.
    Can anybody help?
    regards,
    Bhupesh

    Hi bhupesh
    under message server port give the host name or ip address of j2ee engine host
    and under port give the scs instance number
    (i.e for scs 01 give 3601)
    regards,
    kaushal

  • Cannot parse UTF-8 encoded xml files

    I have been having issues parsing files that were encoded with UTF-8. If I save the file as standard ANSI and parse it I do not have the issues.
    Is there a reason this can occur?
    Here is the error I am getting:
    C:\Home\Java\testbed\tmp>java RFKGenerator -in 4874.xml -xsl cl_rfk.xsl -out 4874.rfk
    Applying stylesheet cl_rfk.xsl...
    Exception in thread "main" ; SystemID: file:///C:/Home/Java/testbed/tmp/2.209_M_
    4874.xml; Line#: 1; Column#: -1
    javax.xml.transform.TransformerException: Document root element is missing.
    at org.apache.xalan.transformer.TransformerImpl.fatalError(Unknown Sourc
    e)
    at org.apache.xalan.transformer.TransformerImpl.transform(Unknown Source
    at org.apache.xalan.transformer.TransformerImpl.transform(Unknown Source
    at org.apache.xalan.transformer.TransformerImpl.transform(Unknown Source
    at gov.nasa.jsc.odfxml.java.RFKGenerator.main(RFKGenerator.java:89)
    As I mentioned before this only occurs if the file is encoded in UTF-8 so I am not sure if there is any extra steps needed when parsing these type of files. I am using the latest xalan parser and the xerces processor that apache provides.
    If you need any other information please let me know.
    thank you.

    I found that the issue was I was using an older version of Xalan and when updated it fixed the problem. Also there are issues with parsing UTF-8 on win9x machines you should be on Win2k/XP to not encounter errors.

  • Cannot parse persistent.xml storage.xml... null pointer exception

    hi,
    i have an EAR with a WAR and an EJB jar. i only have session beans. no entity beans. my EJB jar does not have a persistent.xml or storage.xml. i build my EAR using ant and deploy using visual administrator (thanks to Vladimir Pavlov). i get this huge stack that says
    "com.sap.engine.deploy.exceptions.BaseIOException: Cannot parse persistent.xml or storage.xml for JAR F:\usr\sap\J2E\JC00\j2ee\admin\.\temp\deploying\deploy_temp\reader1115328611113\tap-ejb.jar.
    Reason: java.lang.NullPointerException."
    i get this only when i have <security-permission> in the ejb-j2ee-engine.xml. does this tag need one of these files. the application deploys just fine if i dont have the <security-permission>. i need to map the users to the roles in the application for EJBs.
    can someone please tell me what is happening here.
    thanks
    - RD

    It is not only with Deploy tool and visual admin tool. i tried the console too. gave me an error saying "cannot parse ejb-j2ee-engine.xml". it did not mention the persistent.xml or storage.xml though.
    i checked the validity of the xml with the dtd using altova xml spy. it passed.
    can you please tell me how I report an OSS message?
    thanks
    - RD

  • Cannot parse persistent.xml or storage.xml....  NullPointerException

    I have created an EAR with one WAR file and 3 EJB JAR.
    in every ejb jar i have add the ejb-j2ee-engine.xml and in the war the web-j2ee-engine.xml
    all the ejb are only BMP (bean persistent)
    When i open the deploy tool, create a new project and try to load this ear, this error occurs reading the first ejb jar.
    Error occured while trying to load ear fiel - incorrect EAR!
    com.sap.engine.deploy.exceptions.BaseIOException: Cannot parse persistent.xml or storage.xml for JAR E:\sapproject\sapabs\deployer\temp\reader1108653530265\ABSEJBSRuntime.jar
    Reason: java.lang.NullPointerException
    why?
    I get a lok to persistent.dtd and seem for only CMP entity.
    I try to insert in every ejb jar a empty persistent.xml file, but nothing change.
    Any idea ?
    Thank You
    Message was edited by: roberto roberto

    Hi Roberto,
    You are absolutely right - persistent.xml describes the O/R mapping and some other properties of CMP entity beans, it is not used for BMP.
    Instead of using the deploy tool, I would suggest to deploy your application with the Shell console administrator or the Visual Administrator tool. Have a look at
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/6acf38422f0244b960236643e3cc46/frameset.htm
    Server Administration -> J2EE Engine Administration Tools -> Shell Console Administrator
    If you want not only to deploy your app but also to further develop it, it's better to use the NW Developer Studio - it is more sophisticated and provides more useful features than deploy tool.
    Hope this helps,
    Vladimir

Maybe you are looking for

  • How is Total Calculated(VBAP-MWSBP) in Sales Contracts(VA43)?

    Hi All, First of all, I'm no a SD consultant but rather an ABAPer.  Correct me if I'm wrong: Scenario: - Line Item 10,  Billing Plan, I have:     15 $2,016.00       7 $1,992.61 Total Net Value is:  $44,188.27 Total Tax(VBAP-MWSBP) per line item is ca

  • Defining Switches for HR Adhoc Query

    Good Morning, I have the following doubts. I am reading in a documentation  the process for Define Switches in Adhoc Query. The definition of switches is located within the same dialog, where Coding has to be stored, that should be executed at Event

  • DW MX & Contribute

    Just wondering whether anyone can comment on this ftp log from trying to get my copy of DW MX to administer / set up Contribute fucntionality on a site (server passes tests with the adobe downloadable ftp testing tool) server ftp software is pure_FTP

  • How do i check what time of day i logged into firefox?

    I want to view the current and previous times that I have logged onto firefox

  • Safari not blocking pop-up windows

    Even though I have block pop-up windows checked in in the Safari menu, I am finding that this blocking feature is not reliable. One of the pop-up windows I see frequently is for Netflix. This is not the only one. Does anyone know of a method to reall