ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <>
Subject Re: WAS5.1 and wsadmin issue
Date Tue, 04 Jan 2005 08:42:37 GMT
Hello Steve

this problem is the one described here :

I had this happening also with a JNDI implementation class.

Are the JSSE interfaces part of the JDK you are using ?

I wonder whether a good wording for this type of problems would not be
something like :
"Classloaders are not reentrant" ?

As workarounds :
if you use ant 1.6, start ant like this :

ant -lib [path to ws jars]

with older versions of ant, you will have to set your CLASSPATH to
include the jars which you need, then start ant



> 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(
>   [wsadmin]     at
>   [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="">
>      <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:
For additional commands, e-mail:

View raw message