Hi
These two days i'm working on Websphere(8.5.5.3)
Ant tasks to finish some automated jobs on AIX.
Everything goes well including(wsStopServer,wsInstallApp,wsUninstallApp,etc.) but is stuck on the wsStartServer task.
I am using ant instead of the built-in script ws_ant.sh.
The snippet of build.xml as follows:
<path id="lib.path">^M
<fileset dir="${was.home}/plugins" includes="com.ibm.ws.runtime.jar"/>
</path>
<taskdef name="wsStartApp" classname="com.ibm.websphere.ant.tasks.StartApplication" classpathref="lib.path"/>
<target name="deploy.websphere" if="deploy.websphere.enabled">^M
<wsStartServer
wasHome="${was.home}"
server="${server}"
debug="${debug}"
profileName="${profile.name}"/>
<target>
And some properties in build.properties:
was.home=/export/aix02-2/IBM/Websphere
profile.name=testProfile
debug=true
server=server1
The debug info is as below:
[startServer] profileName=testProfile registry=/export/aix02-2/IBM/Websphere/properties/profileRegistry.xml
[startServer] profileHome=/export/aix02-2/IBM/Websphere/profiles/testProfile
[startServer] jvm args > /usr/java71_64/jre/bin/java
[startServer] jvm args > -Dfile.encoding=ISO8859-1
[startServer] jvm args > -Dconsole.encoding=ISO8859-1
[startServer] jvm args > -Dosgi.install.area=/export/aix02-2/IBM/Websphere/
[startServer] jvm args > -Dosgi.configuration.area=/export/aix02-2/IBM/Websphere/profiles/testProfile/configuration
[startServer] jvm args > -Dcom.ibm.SSL.ConfigURL=file:/export/aix02-2/IBM/Websphere/profiles/testProfile/properties/ssl.client.props
[startServer] jvm args > -Dcom.ibm.CORBA.ConfigURL=file:/export/aix02-2/IBM/Websphere/profiles/testProfile/properties/sas.client.props
[startServer] jvm args > -Djava.security.auth.login.config=/export/aix02-2/IBM/Websphere/profiles/testProfile/properties/wsjaas_client.conf
[startServer] jvm args > -Dcom.ibm.SOAP.ConfigURL=file:/export/aix02-2/IBM/Websphere/profiles/testProfile/properties/soap.client.props
[startServer] jvm args > -Dwebsphere.lib.dir=/export/aix02-2/IBM/Websphere/lib
[startServer] jvm args > -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager
[startServer] jvm args > -Djava.util.logging.configureByServer=true
[startServer] jvm args > -Dws.ext.dirs=/usr/java71_64/lib:/export/aix02-2/IBM/Websphere//classes:/export/aix02-2/IBM/Websphere//lib:/export/aix02-2/IBM/Websphere//installedChannels:/export/aix02-2/IBM/Websphere//lib/ext:/export/aix02-2/IBM/Websphere//web/help:/export/aix02-2/IBM/Websphere//deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
[startServer] jvm args > -Dserver.root=/export/aix02-2/IBM/Websphere/profiles/testProfile
[startServer] jvm args > -Dwas.install.root=/export/aix02-2/IBM/Websphere
[startServer] jvm args > -Duser.install.root=/export/aix02-2/IBM/Websphere/profiles/testProfile
[startServer] jvm args > -Dwas.node.name=testNode
[startServer] jvm args > -Dwas.cell.name=testCell
[startServer] jvm args > -Dwas.repository.root=/export/aix02-2/IBM/Websphere/profiles/testProfile/config
[startServer] jvm args > -Xmx256M
[startServer] jvm args > -classpath
[startServer] jvm args > /export/aix02-2/IBM/Websphere/properties:/export/aix02-2/IBM/Websphere/lib/startup.jar:/export/aix02-2/IBM/Websphere/lib/bootstrap.jar:/export/aix02-2/IBM/Websphere/lib/lmproxy.jar:/export/aix02-2/IBM/Websphere/lib/urlprotocols.jar:/usr/java71_64/lib/tools.jar
[startServer] jvm args > com.ibm.wsspi.bootstrap.WSPreLauncher
[startServer] jvm args > -nosplash
[startServer] jvm args > -application
[startServer] jvm args > com.ibm.ws.bootstrap.WSLauncher
[startServer] jvm args > com.ibm.ws.admin.services.WsServerLauncher
[startServer] jvm args > /export/aix02-2/IBM/Websphere/profiles/testProfile/config
[startServer] jvm args > testCell
[startServer] jvm args > testNode
[startServer] jvm args > server1
[startServer] jvm args > -profileName
[startServer] jvm args > testProfile
[startServer] ADMU0116I: Tool information is being logged in file
[startServer] /export/aix02-2/IBM/Websphere/profiles/testProfile/logs/server1/startServer.log
[startServer] ADMU0128I: Starting tool with the testProfile profile
[startServer] ADMU3100I: Reading configuration for server: server1
[startServer] ADMU0111E: Program exiting with error: java.lang.UnsatisfiedLinkError:
[startServer] Ws60ProcessManagement (Not found in java.library.path)
[startServer] ADMU1211I: To obtain a full trace of the failure, use the -trace option.
[startServer] ADMU0211I: Error details may be seen in the file:
[startServer] /export/aix02-2/IBM/Websphere/profiles/testProfile/logs/server1/startServer.log
[startServer] Java Result: 255
Can anyone help me out? Thanks in advance.