I am trying to update our build file as we have just upgraded to
WAS5.1 to use the wasdmin task. Unfortunately, I get the following
relevant snippet when trying to stop the server:
  
  [wsadmin]     at java.lang.reflect.Method.invoke(Method.java:324)
  [wsadmin]     at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
  [wsadmin] Caused by: java.lang.NoClassDefFoundError:
com/ibm/jsse/IBMJSSEProvider

This is what I have in my build.xml

<path id="project.class.path">
      <pathelement path="${classpath}"/>
      <fileset dir="/opt/WebSphere/AppServer/lib">
        <include name="**/*.jar"/>
      </fileset>
      <fileset dir="/opt/WebSphere/AppServer/java/jre/lib">
        <include name="jsse.jar"/>
      </fileset>
  </path>

<taskdef name="wsadmin" classname="com.ibm.websphere.ant.tasks.WsAdmin">
     <classpath refid="project.class.path"/>
</taskdef>

Should I be doing this differently? I am fairly new to WAS so perhaps
I am missing something obvious, but it seems to be a classpath issue
when Ant (1.6.2) executes.Any help would be appreciated.

Thanks,
Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to