Try using the axis-admin Ant task.

Stephen


Haddad, William wrote:
Hi

I have installed axis on two different systems, one a Tomcat instance on an internal 
network server and the other on my laptop with a BEJY server. Both run the jws files 
fine, and both fail to allow me to deploy the identical service as a class, using a 
deploy.wsdd file. I have tried using Ant to do the invokation of AdminClient as 
follows:
<target name="deployToAxis">
                <jar destfile="${distDir}/sprams.jar" basedir="${basedir}/bin" includes="*.class" 
update="yes"/>
                <java classname="org.apache.axis.client.AdminClient" >
                        <arg value="-lhttp://Rm-bos-dbs1:8080/axis/services/AdminService 
${basedir}/wsdd/deploy.wsdd" />                
                </java>
        </target>

and the result is a complete rundown on usage, followed by:
 [java] Exception:: org.eclipse.ant.core.AntSecurityException
        [java] null
BUILD SUCCESSFUL

Why would Ant have a security exception? I have tried to similarly invoke the AdminClient just to get a list of services, and received the same response. What's going on? Ant is finding the AdminClient class. This is not the problem of doing admin from other than the localhost, because it also occurs on the laptop, where it IS the localhost. Is there something about user authentication I'm missing? then why would the jws files work?






Reply via email to