× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Finally got it to work. The syntac for -MapSharedLibForMod is as
follow:
-MapSharedLibForMod {{.* *. bosslib}}


Thanks

"Lim Hock-Chai" <Lim.Hock-Chai@xxxxxxxxxxxxxxx> wrote in message
news:<mailman.30557.1275492112.2580.web400@xxxxxxxxxxxx>...
I'm trying to use the ws_ant tool to install a new ejb application to
the websphere server, my ant script look like below:


<target name="ear.deploy" description="Deploys the EAR file to the
server">
<wsInstallApp
ear="${builtBossEar}/Boss.ear"
conntype="SOAP"
host="${ws.host}"
port="${ws.soap.port}"
washome="${ws.home}"
options=
"-appname ${ant.project.name}
-verbose
-usedefaultbindings
-MapSharedLibForMod &quot;.* .* bosslib&quot;
-deployejb.classpath
&quot;${bosslibpath}/ojdbc14.jar;${bosslibpath}/14_full_ent_2.23b4_jpeda
l.jar;${bosslibpath}/bcprov-jdk14-119.jar;${bosslibpath}/commons-collect
ions.jar;${bosslibpath}/commons-dbcp.jar;${bosslibpath}/commons-logging.
jar;${bosslibpath}/commons-pool.jar;${bosslibpath}/DependencyFinder.jar;
${bosslibpath}/invoiceTool.jar;${bosslibpath}/itext-1.02b.jar;${bosslibp
ath}/itext-xml-1.02.jar;${bosslibpath}/j2ssh.jar;${bosslibpath}/jai_code
c.jar;${bosslibpath}/jai_core.jar;${bosslibpath}/jakarta-oro.jar;${bossl
ibpath}/jce-jdk13-119.jar;${bosslibpath}/jPDFProcess.jar;${bosslibpath}/
jt400.jar;${bosslibpath}/jtds-0.5.2.jar;${bosslibpath}/Multivalent.jar;$
{bosslibpath}/MultivalentArch.jar;${bosslibpath}/PDFBox-0.7.0-dev-200410
26.jar;${bosslibpath}/poi-2.5.1-final-20040804.jar;${bosslibpath}/poi-co
ntrib-2.5.1-final-20040804.jar;${bosslibpath}/poi-scratchpad-2.5.1-final
-20040804.jar;${bosslibpath}/spring.jar;${bosslibpath}/struts.jar;${boss
libpath}/scheduler-plugin.jar;${bosslibpath}/log4j.jar&quot;
"

/>

When I execute above ant script, I get this error: [wsadmin]
WASX7017E: Exception received while running file
"C:\DOCUME~1\LIM~1.HOC\LOCALS~1\Temp\wsant238096816878879534jacl";
exception information: java.lang.ClassCastException:
java.lang.ClassCastException: java.lang.String incompatible with
java.util.List.


If I remove the -MapSharedLibForMod &quot;.* .* bosslib&quot; from the
above ant script, it works. Does anyone know the syntax of this
-MapSharedLibForMod option? I tried several different combination and
have not had any luck.

Thanks

----------

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.