在安装IBM WebSphere solr部署组件时,我面临以下问题。你能帮我这个忙吗? deploySearch.xml生成文件问题:
/opt/IBM/WebSphere/CommerceServer70/instances/live/search/deploy
。/opt/IBM/WebSphere/CommerceServer70
2。在下面,如果任务正在执行,我们将面临 <property name="WCUserInstallDir" value="${deployDir}"/>-->
<property name="WCUserInstallDir" value="/data02/opt/IBM/WebSphere/CommerceServer70"/>
<property file="${WCUserInstallDir}/instances/${instanceName}/properties/createInstance.properties"/>
<property file="${deployDir}/properties/solr-deploy.properties"/>
<property name="WCInstallDir" value="${WCUserInstallDir}" />
之类的问题。为解决此问题,我们为
taskdef is not define for if task
3。在下面的代码段中,我们在build xml文件中设置类路径。但是在deployDir的服务器中没有lib文件夹或ConfigManager.jar和Utilities.jar文件。因此,我们已在
下复制了ConfigManager.jar和Utilities.jar。 if ( <taskdef name="if" classname="net.sf.antcontrib.logic.IfTask" classpath="/data02/opt/IBM/WebSphere/CommerceServer70/lib/ant-contrib-1.0b3.jar"/> )
<if>
<available file="${WCUserInstallDir}/instances/${instanceName}/search/commerce/properties/searchServer.properties" type="file" />
<then>
<taskdef name="getSearchWASAdminUser" classname="com.ibm.commerce.config.search.ant.tasks.GetSearchWASAdminUser" classpathref="classpath"/>
<taskdef name="getSearchWASAdminPassword" classname="com.ibm.commerce.config.search.ant.tasks.GetSearchWASAdminPassword" classpathref="classpath"/>
<getSearchWASAdminUser property="SolrWASAdminUser" propertiesFile="${WCUserInstallDir}/instances/${instanceName}/search/commerce/properties/searchServer.properties"/>
<getSearchWASAdminPassword property="SolrWASAdminPassword" propertiesFile="${WCUserInstallDir}/instances/${instanceName}/search/commerce/properties/searchServer.properties"/>
</then>
</if>
4。在进行solr安装时,这3个ant目标(configSearchBinding,importWASChainedCertificate,enableSearchAdminSecurity)失败,并显示以下
${deployDir}/lib/ .
<path id="classpath">
<pathelement location="${deployDir}/lib/ConfigManager.jar"/>
<pathelement location="${deployDir}/lib/Utilities.jar"/>
<pathelement location="${deployDir}/config"/>
</path>
5.createSearchObjectCacheInServer ant目标失败,未找到类异常。在下面的任务定义中,没有提及类路径,并且在服务器中也没有此类的jar文件。
exception.
STDERR: BUILD FAILED
/opt/IBM/WebSphere/CommerceServer70/instances/live/search/deploy/deploySearch.xml:64: The following error occurred while executing this line:
java.lang.UnsatisfiedLinkError: ic_jni64 (Not found in java.library.path)