on 03-01-2006 4:21 PM
hello all.
i have a problem with deployment of a library file.
i have read these instruction:
<i>http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/softwarelogistics/addons.html#configuration_addon</i>
i have uploaded in my web console the folder :
<b><nameofjar></b>
contains:
<b>meta-inf/Manifest.mf
<name of jar>.jar</b>
my Manifest.mf:
<i>Manifest-Version: 1.0
GLOBALLIB: X</i>
->the file is deployed after synchronization but this entry is not in the file
<b><MI root>/listOfJars.txt</b>
anyone have a solution?
thanks in advance,
ELiana
Hi, this is indeed strange.
Where does the .jar file go to ? If it goes to <MIDIR>\addons\... something is wrong with your manifest file.
If you have a trace file for the deployment, it is relatively easy to figure out what happened, there are entries like:
Extract '''' from '''' to '''' ..." where stand for the source file, stands for the zip file and for the targetFilename.
Cheers, Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Elina,
hope u could install the patch in your client.
then just extract the zip file ur patch package and check whether ADD_TO_CLASSPATH task for ur particular jar file is there in the install.xml file or not.
if not , then
u have to manually edit the install.xml file
which is in your patch package.
for example if u want to add MEg.jar in your listOfJars.txt file u have to make this entry in the install.xml file .
<TASK name="Add MEg.jar to classpath">
<!-- Add the new MEg.jar to the classpath -->
<ADD_TO_CLASSPATH classpathentry="%JAVA_LIB%/MEg.jar" mi_running="false"/>
</TASK>
then u have to reinstall the patch to the client.
<b>ADD_TO_CLASSPATH</b>
Adds an entry to file listOfJars.txt.
The attribute classpathentry defines the absolute path to an archive. It can contain the permitted placeholders; see below for details.
It is of no importance whether or not SAP MI is running at this point.
refer this link for help.
http://help.sap.com/saphelp_nw04/helpdata/en/3a/b834418b718739e10000000a1550b0/content.htm
Regards
Kishor Gopinathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello eliana,
did you restart your MI after the deployment?
try restarting...
try also.
startup your mi and try looking on the info.
if your addon was registered, check to <mi_root>/lib
if your jar file was copied into that location.
if it is there and is not added into the listOfJars.txt
after restart, you may redeploy it or manually add its
path to the listOfJars.txt.
if your addon is not registered and your file is not
there, try checking on the web path of your addon file.
and try redeploy.
here's my blog on how to make your startup.bat script
locate all your jar files and append them in to the
classpath at runtime... (note of the caveat as well)
/people/sap.user72/blog/2005/12/21/how-to-reconfigure-mi-client-when-installation-path-is-altered
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eliana,
Has your library Add-On's jar file copied to folder <MI root>/lib?
If so then you can manually add the path of the file in your listOfJars.txt. listOfJars.txt is a file which is read to by the MobileEngine to get the all the jar files that need to used.
However, if the Add-on has not appeared in the lib folder then you need to re-deploy it.
Regards,
Rahul
If this helps, kindly assign me some points.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.