on 04-18-2006 8:30 AM
Hi,
I have a requirement of deploying an ear from command line .can any body send me the related links or jars or related information regarding that.
Hi,
Using variuos deployment tools, an ear can be deployed thru command line..
Kindly refer thses links
http://java.sun.com/javaee/5/docs/tutorial/doc/MDB5.html
http://wiki.apache.org/geronimo/Deployment
Regards,
Uma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kiran
You can deploy using ant scripts . please follow the link which contains step by step guide as to how u can do it using ant scripts
1)one is writing an ant task
2)Other is using deployManager command line option
link to PDF
example link
hope this helps .
regards
rajeshkr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The scripts
<b>1.J2EEgenerator
2.eargenerator
3.deploymanager</b>
would help you doing this. You'll find these in
<b>usr\sap\<SID>\<Instance_Number>\j2ee\deploying</b>directory.
Also check this link.
http://help.sap.com/saphelp_nw04/helpdata/en/c1/f6a282078245e99654b99ffb13c508/frameset.htm
Rgds,
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amol,
Thankyou for giving reply.
In the J2EEgenerator command it is asking for xml file. Which is is the path to the specific XML file that J2EEgenerator uses to assemble the components.
But what is that xml file . where can i find this. I am giving my ear file details here.
I am having sample.ear
In that it contains
Manifest.mf
Sap_manifest.mf
application.xml
application-j2ee-engine.xml
data-source-aliases.xml
sda-dd.xml
and some other jar files(Related to the projects which i used in this).
How can i run J2EEgenerator command with this. Pls explain me clearly.
Thank you.
Hi Kiran
just check this link .You can take the same example shown in the pdf and use it .
regards
rajesh kr
Hi Kiran
just check this link .You can take the same example for
deploy-manager-config.xml shown in the pdf and use it .
Also you can get the details about these xml's file in
http://help.sap.com/saphelp_nw04/helpdata/en/21/82a9058fa8de46b1ba7522289345b2/frameset.htm
regards
rajesh kr
Hi Bhogi Kiran,
This is the command to create the ear file.
jar cf ear-file input-file(s)
Please try this out also.
/message/904879#904879 [original link is broken]
Regards
Vishal Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.