on 08-31-2007 4:18 PM
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
David, application-j2ee-engine.xml is generated while WD DC build process. You can`t intercept this process. As an option you can try to update generated ear file with your modified application-j2ee-engine.xml.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
According to http://help.sap.com/saphelp_erp2005/helpdata/en/6f/80c8a05835b54ba68e5b79354b011a/frameset.htm
<application-j2ee-engine>
....
<start-up mode="manual | lazy | always"/>
</application-j2ee-engine>
you need to set it to <b>always</b> (the application is started when the server is started)
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.