on 12-29-2011 7:43 AM
OS Windows 2003 and PI Version 7.0
Hi guys,
Currently we are having problems in deplying optional components in axis adapter sda archive, we have included the optional components inside the provider.xml file inside the sda as per sapnote #1039369 but it still is only installing the required components.
We are trying to install these 3 new components Jakarta-Commons Codec, Jakarta-Commons Net and Jakarta-Commons HttpClient.
Appreciate if anyone has expertise on this.
Tq.
Regards,
Saiful
Edited by: Mohd Saiful Nizam Rahimi on Dec 29, 2011 8:43 AM
Dear Saiful,
Hope you are doing good.
If the SDM option does not work, do give a try with the telnet tool as well.
Connect to the telnet tool
1)goto cmd-> telnet <hostname> 5<instance number>08 (you will need to login with an administrator user of the J2ee engine; not the <SID>adm user.
2) Type -> deploy -h
you will get the command details (or else type 'man deploy' to get the syntax)
3) deploy the .SDA file
Please have a look at the below for more information:
<http://wiki.sdn.sap.com/wiki/display/TechTSG/(JSTSG)(Telnet)DeployController+Commands>
and
<http://help.sap.com/saphelp_nwpi711/helpdata/en/45/0ad8e787652d6ae10000000a11466f/frameset.htm>
Using the telnet application, you can deploy a single file or a set of SCA files. Please check the syntax for this..
Thank you and have a nice day :).
_____________
Kind Regards,
Hemanth
SAP AGS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Thanks for the suggestions. I used another version of axis adapter sda and somehow this version seems to work when i add new jar files under it and updated the provider.xml.
When deployed it via SDM, it managed to read the jar files that i added.
TQ again to all for your suggestion, cheerio.
Regards,
Saiful
Edited by: Mohd Saiful Nizam Rahimi on Jan 3, 2012 8:45 AM
Just to share,
I used the version axis-src-1_4 which i downloaded from apache website and then added jar files under this sda.
Managed to install the optional components by checking this url http://host:port/XIAxisAdapter/MessageServlet.
Regards,
Saiful
Dear Saiful,
Hope you are doing good.
That is great news :).
Also do have a look at the below note for future references:
SAP Note No. 1028961: How to prepare axisproviderlib.sda for Adapter Framework
SAP Note No. 1039369: FAQ XI Axis Adapter
Thank you and have a nice day :).
_____________
Kind Regards,
Hemanth
SAP AGS
Hello Saiful,
You have to create a new sda file including components and new provider.xml file or modify the existing sda.
In new provider.xml you have to include following lines
<jars>
<jar-name>componentsname</jar-name>
</jars>
You can take help from this link : http://help.sap.com/saphelp_nw70/Helpdata/en/16/df813e77d46245e10000000a114084/content.htm
I have done it around 6 months back, you need to make jar file using winzip or some other software.
Regards,
Amit Barnawal
Edited by: Amit Barnawal on Dec 29, 2011 9:04 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, let me just recap the steps i did.
First, i modified the sda to include the 3 optional components via winrar. Then i modified the provider.xml as below
to reflect the additional components that i included.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
<display-name>com.sap.aii.af.axisproviderlib</display-name>
<component-name>com.sap.aii.af.axisproviderlib</component-name>
<major-version>3</major-version>
<minor-version>0</minor-version>
<micro-version>0</micro-version>
<provider-name>sap.com</provider-name>
<references>
<reference type="library" strength="weak">activation</reference>
<reference type="library" strength="weak">jms</reference>
<reference type="library" strength="weak">mail</reference>
<reference type="library" strength="weak">servlet</reference>
<reference type="library" strength="weak">webservices_lib</reference>
<reference type="library" strength="weak">com.sap.guid</reference>
</references>
<jars>
<jar-name>axis.jar</jar-name>
<jar-name>commons-discovery-0.2.jar</jar-name>
<jar-name>commons-logging-1.1.1.jar</jar-name>
<jar-name>commons-net-1.4.1-dev.jar</jar-name>
<jar-name>wsdl4j-1.5.1.jar</jar-name>
<jar-name>commons-codec-1.4.jar</jar-name>
<jar-name>httpclient-4.1.2.jar</jar-name>
</jars>
</provider-descriptor>
Deployed it but still failed, as it would only install the original components in the sda.
You mentioned i have to create a new jar file, how do i do that or i just have to create a new sda instead of modifying one.
Tq.
Regards,
Saiful
Hello Saiful,
I mean creating or modifying the sda file only,
So you are saying you had put the new components in that sda as well as modified the provider.xml file.
Now check the second option in deployment configuration before deploying
ie : update deployed SCa/SDAs that have same or lower component version.
Hope it helps,
Regards,
Amit Barnawal
Edited by: Amit Barnawal on Dec 29, 2011 10:28 AM
Hello Saiful,
After modifying the sda file, have you checked if all the component files are there.
- yerp i have checked and all components are there
and while creating sda file, there is option in winzip where you have to set the path, which decide from where to find those components.
Please check that as well.
- where do i check this? don't see any options about this
Regards,
Saiful
Edited by: Mohd Saiful Nizam Rahimi on Dec 30, 2011 2:41 AM
Dear Saiful,
Please check this link : http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d...
In page no-13 of this link you can see check full path info..
Hope it helps,
Regards,
Amit Barnawal
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.