CE Installation Guide
Note: this is currently a work in progress.
This guide describes how to build ESME and deploy it to the SAP NetWeaver Composition Environment (aka "CE"), which is SAP's Java EE 5-compliant application server and integration platform.
1. Build ESME from the latest code drop
2. Convert the esme.war into a deployable element
On your CE installation, there are scripts to do such actions
D:usrsapCE1J00j2eedeploymentscripts>make_SDA esme.war -pr esme.propertiesContents of esme.properties file
softwaretype=single-module subtype=war context-root=/esme vendor=esme.apache.org location=Deployment Manager counter=1
3. Deploy
3.1. via the Netweaver Developer Studio
Deploy the war file created in step 2 via the Deplyoment Perspective in NWDS.
3.2 via telnet
you can also deploy using telnet (http://help.sap.com/saphelp_nwpi711/helpdata/en/45/0ad8e787652d6ae10000000a11466f/content.htm ):
3.3 via script
D:\usr\sap\CE1\J00\j2ee\deployment\scripts> deploy administrator:abcd1234@localhost:50004 esme.war95
Tips
Using container-based autnetication
You must also change the web.xml file
<resource-ref> <res-ref-name>esme</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref>
You also have to of course create a data source and the necessary JDBC drivers to the CE environment. Here are two blogs with details on how to do this:
- Creating JDBC Data sources using NWA for different Databases in CE
- Connecting an Application to an External Database in SAP NW CE 7.1
If you are using derby as your DB to perform tests, the following info is useful:
- DB driver class: org.apache.derby.jdbc.EmbeddedDriver
- URL: jdbc:derby:esme_db;create=true
- JAR_: derby-10.5.1.1.jar